Include backward compatibility with: ChangeLog.txt.pl
authorshort <>
Mon, 21 Nov 2005 03:38:39 +0000 (03:38 +0000)
committershort <>
Mon, 21 Nov 2005 03:38:39 +0000 (03:38 +0000)
.htaccess

index 86752db..c613e77 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -57,7 +57,7 @@ AddType application/javascript .js
        RewriteRule ^(mailman|pipermail|priv|phorum|akra|project/captive/dist)(|/.*)$ http://www2.jankratochvil.net/$1$2?${unescape:%{QUERY_STRING}} [R=302,L]
        <IfModule !mod_perl.c>
                RewriteRule ^favicon[.]ico$ /My/Status.pm?code=404 [P,L]
-               RewriteRule ^(.*)[.]html[.]pl(|/.*)$ /$1.pm$2?${unescape:%{QUERY_STRING}} [R=301,L]
+               RewriteRule ^(.*)[.](html|txt)[.]pl(|/.*)$ /$1.pm$3?${unescape:%{QUERY_STRING}} [R=301,L]
                RewriteRule ^resume/Resume-JanKratochvil.pm(|/.*)$ /resume/ResumeJanKratochvil.pm$1?${unescape:%{QUERY_STRING}} [R=301,L]
                RewriteRule ^(.*?)/+Index[.]pm$ /$1/?${unescape:%{QUERY_STRING}} [R=301,L]
                RewriteCond %{REQUEST_FILENAME}/Index.pm -f