From 76d769ea69471442cc4f9d19bbb252e76fdd9f57 Mon Sep 17 00:00:00 2001 From: short <> Date: Sat, 1 Oct 2005 02:56:34 +0000 Subject: [PATCH 1/1] Provide redirect for the updated resume URL. Cleanup/simplify redirect rules. --- .htaccess | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 34a7776..b125590 100644 --- a/.htaccess +++ b/.htaccess @@ -46,8 +46,9 @@ AddType application/zip .zip RewriteRule ^projects(|/.*)$ http://%{SERVER_NAME}/project$1 [R=301,L] RewriteRule ^favicon[.]ico$ /My/Status.pm?code=404 [P,L] - RewriteRule ^(.*)[.]html[.]pl(|/.*)$ http://%{SERVER_NAME}/$1.pm$2 [R=301,L] - RewriteRule ^(.*?)/+Index[.]pm$ http://%{SERVER_NAME}/$1/ [R=301,L] + RewriteRule ^(.*)[.]html[.]pl(|/.*)$ /$1.pm$2 [R=301,L] + RewriteRule ^resume/Resume-JanKratochvil.pm(|/.*)$ /resume/ResumeJanKratochvil.pm$1 [R=301,L] + RewriteRule ^(.*?)/+Index[.]pm$ /$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] -- 1.8.3.1