I currently have several svn repo's set up for use by a small collection of people. They currently access there repo by the following url pattern: https://svn.example.com/svn/project If they have multiple packages (which some, but not all do) its: https://svn.example.com/svn/project/packageA and so on.
I would like to remove the /svn/ out of the url. I have tried using RewriteRule and RedirectMatch in apache with no success.
This is the virtual host file, prior to trying to change the URL:
<VirtualHost *:443> ServerAdmin firstname.lastname@example.org ServerName www.svn.example.com ServerAlias svn.example.com DocumentRoot /var/svn SSLEngine on SSLCertificateFile /etc/apache2/ssl/apache.pem SSLProtocol all SSLCipherSuite HIGH:MEDIUM <Location /var/svn/> DAV svn SVNParentPath /var/svn SVNListParentPath on AuthType Basic AuthName "Subversion Repository" AuthUserFile /var/svn/svn-auth-file Require valid-user </Location> ErrorLog /var/log/apache2/error.log LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On </VirtualHost>