I am setting up an svn server using mod_dav_svn. I would like to satisfy all of the following:
- Collection of repositories resides at repos.example.com/ NOT repos.example.com/svn
- Non-svn content is available from the same server at repos.example.com/repo-style. This is to enable styling information. I am okay with the fact that I will not be able to have a repo with that name.
Here is the present configuration:
<VirtualHost *:80> ServerName repos.example.com <Location /> DAV svn AuthType Basic AuthName "Log In" AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthLDAPURL ldap://*** AuthLDAPBindDN *** AuthLDAPBindPassword *** require valid-user SVNListParentPath on SVNParentPath /mnt/repos/svn SVNIndexXSLT /repo-style/svnindex.xsl AuthzSVNAccessFile /mnt/repos/svn-auth/access </Location> </VirtualHost> The issue with the above is that when a request comes in for repos.example.com/repo-admin mod_dav_svn replies saying that the repository does not exist. I need to concoct a rewrite scheme that isolates a request for that particular sub directory and serves regular html or php or whatever instead.
I have tried using re-writes or aliases to achieve this but have not been successful. Any input would be appreciated.