Apache DAV at `/` with normal hosting at `/foo` - how?
- by mandrake
Should I not be able to have a configuration where I serve SVN repos with SVNParentPath at <Location /> and then override DAV and host normal files using another location <Location /foo>? I wish to host my XSLT files on the same subdomain and still host repos at root. Of course, if I was to have a repo called foo, that would not be accessible, and that's ok.
<VirtualHost *:80>
...
#Host XSLT files here
<Location /foo>
DAV Off
</Location>
#Host my repos relative to root, such as /my_repo/
<Location />
DAV svn
SVNParentPath "myrepos"
SVNListParentPath on
SVNIndexXSLT "/foo/my.xsl"
...
</Location>
</VirtualHost>
But DAV SVN still looks for a repo:
<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="720003">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>