Fixed absolute/relative www/cvs references across the websites.
[cvs.jankratochvil.net.git] / .htaccess
index 6bb24d0..06aea1d 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -18,6 +18,7 @@ Options None
        <IfModule !mod_perl.c>
                RewriteEngine on
                RewriteRule ^favicon[.]ico$ /My/Status.pm?code=404 [P,L]
+               RewriteRule ^(My)(|/.*)$ http://www.jankratochvil.net/$1$2?${unescape:%{QUERY_STRING}} [R=301,L]
                RewriteRule ^/*IndexCVS[.]pm$ /?${unescape:%{QUERY_STRING}} [R=301,L]
                RewriteRule ^/*$ http://localhost:7680/IndexCVS.pm [P,L]
        </IfModule>