Accept also "/4cinfo" directory alias for: http://4c.jankratochvil.net/
authorshort <>
Tue, 18 Nov 2003 10:50:41 +0000 (10:50 +0000)
committershort <>
Tue, 18 Nov 2003 10:50:41 +0000 (10:50 +0000)
 - Requested by Tomas Musil. :-)

.htaccess

index f93e228..131b503 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -30,10 +30,10 @@ AddType application/x-nokia-9000-communicator-add-on-software .aos
        RewriteEngine on
        RewriteRule ^(/home/short/www/www.jankratochvil.net/)?kocky/*(.*)$ http://kocky.vellum.cz/$2 [R=301] [L]
 </Files>
-<Files "4c">
+<FilesMatch "^(4c|4cinfo)$">
        RewriteEngine on
-       RewriteRule ^(/home/short/www/www.jankratochvil.net/)?4c/*(.*)$ http://4c.jankratochvil.net/$2 [R=301] [L]
-</Files>
+       RewriteRule ^(/home/short/www/www.jankratochvil.net/)?(4cinfo|4c)/*(.*)$ http://4c.jankratochvil.net/$3 [R=301] [L]
+</FilesMatch>
 <Files "cgi">
        RewriteEngine on
        #            $1                                                  $2$3    $4