I want to setup SVN in such a way that svn.domain.com/ directly lists SVN repositories. To be able to make the web view nicer I am using an SVNIndexXSLT. But I have to serve this file somehow to the end-user.
So I want to setup a location (/repos-web
for example) that will serve files, instead of svn.
I currently have the following configuration:
<VirtualHost *:80>
ServerName svn.domain.com
DocumentRoot /home/user/svn/svnweb
ErrorLog ${APACHE_LOG_DIR}/error.log
<Location />
AuthType Basic
AuthName "Authentication required"
AuthUserFile "myauthfile"
Require valid-user
order allow,deny
allow from all
DAV svn
SVNParentPath /home/user/svn/repositories
SVNListParentPath on
SVNIndexXSLT "/repos-web/view/repos.xsl"
</Location>
<Location /repos-web>
DAV off
</Location>
</VirtualHost>
But http://svn.domain.com/repos-web simply returns:
Could not open the requested SVN filesystem
I tried changing the <Location />
in <LocationMatch "^/(?!repos-web)">
but this did not help at all.
Of course one solution would be to serve the xslt file over another domain/subdomain, but this is more a workaround than solution.