From: short <>
Date: Fri, 16 May 2003 12:46:11 +0000 (+0000)
Subject: Some vellum.cz settings
X-Git-Tag: bp_modperl~14
X-Git-Url: https://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=commitdiff_plain;h=f582fb27d93e76dd277566b8af998114b5c750c8
Some vellum.cz settings
---
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..8d6152c
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,44 @@
+DirectoryIndex index.html
+
+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
+Options Indexes Includes FollowSymLinks
+
+ 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
+
+
+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
+
+
+ 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]
+
+
+ RewriteEngine on
+ # $1 $2$3 $4
+ RewriteRule ^(/home/short/www/www.jankratochvil.net/)?cgi/viewcvs(/(.*))?([?].*)?$ http://cvs.jankratochvil.net/viewcvs/$3$4 [R=301] [L]
+ RewriteRule ^(/home/short/www/www.jankratochvil.net/)?cgi/*(.*)$ http://www.jankratochvil.net/cgi-bin/$2 [R=301] [L]
+
+
+ RewriteEngine on
+ RewriteRule ^(/home/short/www/www.jankratochvil.net/)?sw/*(.*)$ http://www.jankratochvil.net/project/$2 [R=301] [L]
+