I have the following virtuslhost for my subversion repository and i want to create a link which always points at the latest stable tag. i tried this using mod_rewrite. it is accepted by apache without any errors but wont work. i also tried to rewrite .* which seems not work (yes i restarted apache)
<VirtualHost svn.warsow-race.net>
ServerAdmin [email protected]
ServerName svn.warsow-race.net
ErrorLog /srv/svn/error.log
CustomLog /srv/svn/access.log combined
RewriteEngine On
RewriteRule ^/racesow0.5/latest-stable(.*) /racesow0.5/tags/0.5.4-stable$1
<Location />
DAV svn
SVNParentPath /srv/svn
</Location>
<Location /racesow0.5>
AuthType Basic
AuthName "Racesow 0.5"
AuthUserFile /srv/svn/racesow.passwd
<LimitExcept GET OPTIONS PROPFIND REPORT>
Require valid-user
</LimitExcept>
</Location>
</VirtualHost>
the rewrite log says
(2) init rewrite engine with requested uri /racesow0.5/latest-stable/sdk
(3) applying pattern '^/racesow0.5/latest-stable(.*)' to uri '/racesow0.5/latest-stable/sdk'
(2) rewrite '/racesow0.5/latest-stable/sdk' -> '/racesow0.5/tags/0.5.4-stable/sdk'
(2) local path result: /racesow0.5/tags/0.5.4-stable/sdk
(2) prefixed with document_root to /htdocs/racesow0.5/tags/0.5.4-stable/sdk
(1) go-ahead with /htdocs/racesow0.5/tags/0.5.4-stable/sdk [OK]
but when calling i get a 404 not found