I have an apache configuration that works for SVN DAV and WebSvn. I am currently serving DAV at http://svnserver/svn and websvn at http://svnserver/websvn.
What I would like to do is serve DAV at http://svnserver/ and websvn at http://svnserver/websvn. However, I can't get it to work because the websvn location is below the dav root.
I have two sections, one for / and one for /websvn. With this configuration you can't get to websvn at all becase the root location takes over. I thought I could use a regex to match for DAV but that doesn't work either:
I have tried:
<LocationMatch "^/(?!websvn/)" >
and
<Location ~ "^/(?!websvn/)" >
but neither work. With the regex in place the connecton gets reset when accessing /. Accessing /websvn works fine.
I read a posting here that suggests that apache does something to a request when passed through a regex and this messes up dav. It looks like this is true.
If there's anything more definitive on this, or any suggestions as to how I could get this to work ?