modperl bootstrap
[www.jankratochvil.net.git] / .htaccess
index ad263f7..f815410 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,4 +1,4 @@
-DirectoryIndex index.html
+DirectoryIndex Index.html.pl
 
 AddType text/html .shtml
 AddHandler server-parsed .shtml
@@ -42,3 +42,13 @@ php_flag magic_quotes_runtime off
        RewriteEngine on
        RewriteRule ^(/home/short/www/www.jankratochvil.net/)?sw/*(.*)$ http://www.jankratochvil.net/project/ [R=301] [L]
 </Files>
+
+<IfDefine SSL>
+       <Files "*.pl">
+               RewriteEngine on
+               RewriteRule ^.*?/www[.]jankratochvil[.]net/(.*)$ http://localhost:7680/$1 [P]
+       </Files>
+</IfDefine>
+<IfDefine !SSL>
+       Options +ExecCGI
+</IfDefine>