Alexis Boutillier wrote:
>I want to use WebDav capability (with "Dav on" directive) in the main
>"/" directory and to use svn in the "/svn" subdirectory (with "Dav svn"
>directive).
>
>But apache complain about the fact that it couldn't use a different Dav
>type in a subdirectory of another Dav type.
>The error message is :
>"[error] A subtree cannot specify a different DAV provider than its
>parent."
>
>This mean that a can't make that :
><Directory />
> Dav On
></Directory>
><Location /svn>
> Dav svn
></Location>
>
>but a can make that :
><Directory /main>
> Dav On
></Directry>
><Location /svn>
> Dav svn
></Location>
>
>
First of all, it seems that you're confusing physical disk locations
with URLs on your web server. <Directory> refers to the former;
<Location> refers to the latter. I seriously doubt that you want to make
the root directory of your server available over DAV!
Now, what Apache is complaining about are URL paths, not physical disk
locations. You can't make the root URL of your web server available over
DAV while having a subtree available using SVN DAV. Otherwise, when you
browsed to the svn directory using regular DAV, how would it know which
to use?
Is setting up a separate virtual host for your SVN repository an option?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 8 16:41:48 2004