X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=.htaccess;h=d4402836a0e2be29f759ef4d3d5245e848c66194;hb=bcc344bd73dafe3a5af988a7e6a3b132c0d1299b;hp=ad263f73efecb6e1a62b0d2a7c9408d347528bdc;hpb=8be1722b6899dcc0d816fde7ae82c8c7f8214550;p=www.jankratochvil.net.git diff --git a/.htaccess b/.htaccess index ad263f7..d440283 100644 --- a/.htaccess +++ b/.htaccess @@ -1,4 +1,4 @@ -DirectoryIndex index.html +DirectoryIndex Index.html.pl AddType text/html .shtml AddHandler server-parsed .shtml @@ -20,9 +20,11 @@ AddHandler cgi-script .cgi IndexOptions NameWidth=* AddType application/x-rpm .rpm AddType application/x-nokia-9000-communicator-add-on-software .aos -php_flag short_open_tag off -php_flag magic_quotes_gpc off -php_flag magic_quotes_runtime off + + php_flag short_open_tag off + php_flag magic_quotes_gpc off + php_flag magic_quotes_runtime off + RewriteEngine on @@ -42,3 +44,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] + + + + RewriteEngine on + RewriteRule ^.*?/www[.]jankratochvil[.]net/(.*)$ http://localhost:7680/$1 [P] + + + + Options +ExecCGI +