[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Using Apache handlers with Subversion

From: Robert Leftwich <robert_at_leftwich.info>
Date: 2003-07-19 09:01:58 CEST

Barry Pederson wrote:
>Ben Collins-Sussman wrote:
>
>>Robert Leftwich <robert@leftwich.info> writes:
>>
>>>If I try the same thing in my svn location the handler never gets
>>>called (but the svn location is working correctly in all other
>>>respects).
>>I think the handlers only work on "real" files, not imaginary files.
>>mod_dav_svn is serving up data from BDB in such a way as to circumvent
>>the handlers. Someone who knows more about apache can explain.

My understanding is that one of the reasons for using handlers is to be
able to generate files/responses, so that, for example, you can install a
cgi handler for requests for non-existant html files and generate them as
required.

Note that I can install a handler in the standard fs dav location for any
file extension, existing or not (i.e. foobar or some such nonsense) and it
will be called as expected, just not in the svn location.

>Would an output-handler work with Subversion? mod_python can support
>those, but you'd have to alter your Python cpp-formatter a bit. (Is
>"cpp-formatter" really the name of your Python handler? I didn't think
>Python module names could have '-' in them.)

There was a little creative editing prior to sending the email - purely for
the sake of readability, you understand :-)

Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 19 09:02:45 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.