You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alexis Boutillier <al...@libertysurf.fr> on 2004/10/06 10:30:25 UTC
Using apache WebDav and svn at the same time in different directory
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>
Can someone help me in the configuration of apache to allow the use of
Dav capacity under the "/" directory ?
For the moment i use a web page redirect to redirect "/" to "/main".
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Using apache WebDav and svn at the same time in different
directory
Posted by Toby Johnson <to...@etjohnson.us>.
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