From: short <> Date: Wed, 28 Sep 2005 12:24:22 +0000 (+0000) Subject: Fixed non-final URL references. X-Git-Url: http://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=commitdiff_plain;h=d7c3742f1954bc09167d48953b7b0cc168c5ec26 Fixed non-final URL references. --- diff --git a/.htaccess b/.htaccess index cf6cf73..10557f6 100644 --- a/.htaccess +++ b/.htaccess @@ -45,11 +45,11 @@ AddType application/zip .zip RewriteRule ^sw(|/.*)$ http://%{SERVER_NAME}/project$1 [R=301,L] RewriteRule ^projects(|/.*)$ http://%{SERVER_NAME}/project$1 [R=301,L] - RewriteRule ^(.*)[.]html[.]pl$ http://%{SERVER_NAME}/$1.pm [R=301,L] + RewriteRule ^(.*)[.]html[.]pl(|/.*)$ http://%{SERVER_NAME}/$1.pm$2 [R=301,L] RewriteRule ^(.*?)/+Index[.]pm$ http://%{SERVER_NAME}/$1/ [R=301,L] RewriteCond %{REQUEST_FILENAME}/Index.pm -f # It may be "" for the root directory: RewriteRule ^(|(.*?/)/*)$ http://localhost:7680/$2Index.pm [P,L] - RewriteRule ^(.*[.]pm)$ http://localhost:7680/$1 [P,L] + RewriteRule ^(.*[.]pm(|/.*))$ http://localhost:7680/$1 [P,L]