RewriteRule ^sw(|/.*)$ http://%{SERVER_NAME}/project$1 [R=301,L]
RewriteRule ^projects(|/.*)$ http://%{SERVER_NAME}/project$1 [R=301,L]
<IfModule !mod_perl.c>
- 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]
</IfModule>
</IfModule>