Some vellum.cz settings
authorshort <>
Fri, 16 May 2003 12:46:11 +0000 (12:46 +0000)
committershort <>
Fri, 16 May 2003 12:46:11 +0000 (12:46 +0000)
.htaccess [new file with mode: 0644]

diff --git a/.htaccess b/.htaccess
new file mode 100644 (file)
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
+<FilesMatch "\.(gz|Z|bz|bz2|zip)$">
+       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
+</FilesMatch>
+
+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
+
+<Files "kocky">
+       RewriteEngine on
+       RewriteRule ^(/home/short/www/www.jankratochvil.net/)?kocky/*(.*)$ http://kocky.vellum.cz/$2 [R=301] [L]
+</Files>
+<Files "4c">
+       RewriteEngine on
+       RewriteRule ^(/home/short/www/www.jankratochvil.net/)?4c/*(.*)$ http://4c.jankratochvil.net/$2 [R=301] [L]
+</Files>
+<Files "cgi">
+       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]
+</Files>
+<Files "sw">
+       RewriteEngine on
+       RewriteRule ^(/home/short/www/www.jankratochvil.net/)?sw/*(.*)$ http://www.jankratochvil.net/project/$2 [R=301] [L]
+</Files>