DirectoryIndex _NOTEXISTS
IndexOptions NameWidth=*
Options None
Options +Indexes
# For "*.shtml" as "./project/Islet/Islet/Islet.shtml" etc.
Options +Includes
# Prevent: Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden
Options +SymLinksIfOwnerMatch
AddHandler server-parsed .shtml
AddHandler cgi-script .cgi
AddType "text/html; charset=us-ascii" .html
AddType "text/html; charset=us-ascii" .shtml
AddType "text/plain; charset=us-ascii" .txt
AddType "text/plain; charset=us-ascii" .asc
AddType application/x-rpm .rpm
AddType application/x-nokia-9000-communicator-add-on-software .aos
AddType application/vnd.symbian.install .sis
RemoveEncoding .gz .Z .bz .bz2 .zip
AddType application/x-gzip .gz
AddType application/x-compress .Z
AddType application/x-bzip .bz
AddType application/x-bzip2 .bz2
AddType application/zip .zip
php_flag short_open_tag off
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
# Do not: [R=301] [L]
# as any non-1st brackets' contents would get ignored!
RewriteEngine on
RewriteRule ^kocky(|/.*)$ http://kocky.vellum.cz/$1 [R=301,L]
RewriteRule ^(4cinfo|4c)(|/.*)$ http://4c.jankratochvil.net/$2 [R=301,L]
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$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]