+Forgotten "viewcvs" CGI execution.
[cvs.jankratochvil.net.git] / .htaccess
index 6bb24d0..de08349 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -18,7 +18,15 @@ 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>
 </IfModule>
+
+<IfModule !mod_perl.c>
+       <Files "viewcvs">
+               Options +ExecCGI
+               SetHandler cgi-script
+       </Files>
+</IfModule>