X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=.htaccess;h=f93e228bff52866adef4eda3250711d07e180a16;hb=754f9272b94d0f1205cd067bdf383c0a4b9c092f;hp=f815410bd17a40f84fce3c3fd24da4abf234fbdc;hpb=87881612a38624ab579efed6e93749b0e2b42fc7;p=www.jankratochvil.net.git diff --git a/.htaccess b/.htaccess index f815410..f93e228 100644 --- a/.htaccess +++ b/.htaccess @@ -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,6 +44,10 @@ 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 ^(/home/short/www/www.jankratochvil.net/)?projects/*(.*)$ http://www.jankratochvil.net/project/$2 [R=301] [L] +