X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=.htaccess;h=131b5037f0d2cba19430eb34e1d5ec64bcbcdeff;hb=ecf4925a1f1dc1b0495b765bc6729a99c64e955a;hp=8d6152c561197a5eb3b7ad247d0885082faa3f7d;hpb=f582fb27d93e76dd277566b8af998114b5c750c8;p=www.jankratochvil.net.git
diff --git a/.htaccess b/.htaccess
index 8d6152c..131b503 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,11 +1,11 @@
-DirectoryIndex index.html
+DirectoryIndex Index.html.pl
AddType text/html .shtml
AddHandler server-parsed .shtml
-AddType "text/html; charset=iso-8859-2" .html
-AddType "text/html; charset=iso-8859-2" .shtml
-AddType "text/plain; charset=iso-8859-2" .txt
-AddType "text/plain; charset=iso-8859-2" .asc
+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
Options Indexes Includes FollowSymLinks
RemoveEncoding .gz .Z .bz .bz2 .zip
@@ -20,18 +20,20 @@ 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
RewriteRule ^(/home/short/www/www.jankratochvil.net/)?kocky/*(.*)$ http://kocky.vellum.cz/$2 [R=301] [L]
-
+
RewriteEngine on
- RewriteRule ^(/home/short/www/www.jankratochvil.net/)?4c/*(.*)$ http://4c.jankratochvil.net/$2 [R=301] [L]
-
+ RewriteRule ^(/home/short/www/www.jankratochvil.net/)?(4cinfo|4c)/*(.*)$ http://4c.jankratochvil.net/$3 [R=301] [L]
+
RewriteEngine on
# $1 $2$3 $4
@@ -40,5 +42,19 @@ php_flag magic_quotes_runtime off
RewriteEngine on
- RewriteRule ^(/home/short/www/www.jankratochvil.net/)?sw/*(.*)$ http://www.jankratochvil.net/project/$2 [R=301] [L]
+ RewriteRule ^(/home/short/www/www.jankratochvil.net/)?sw/*(.*)$ http://www.jankratochvil.net/project/ [R=301] [L]
+
+ RewriteEngine on
+ RewriteRule ^(/home/short/www/www.jankratochvil.net/)?projects/*(.*)$ http://www.jankratochvil.net/project/$2 [R=301] [L]
+
+
+
+
+ RewriteEngine on
+ RewriteRule ^.*?/www[.]jankratochvil[.]net/(.*)$ http://localhost:7680/$1 [P]
+
+
+
+ Options +ExecCGI
+