--- parser3/www/htdocs/Attic/.htaccess 2003/03/25 11:42:17 1.12.6.9.2.1 +++ parser3/www/htdocs/Attic/.htaccess 2004/01/30 09:39:45 1.26 @@ -1,12 +1,41 @@ -deny from 195.239.227.18 -deny from 194.84.132.18 -deny from 62.32.47.130 -deny from 62.32.63.235 - -AddHandler parsed-html html -#Action parsed-html /cgi-bin/parser.parser3.cgi -#Action parsed-html /cgi-bin/parser.parser3.cgi.autoptr - -Action parsed-html /cgi-bin/parser3 -#Action parsed-html /cgi-bin/parser3_autoptr_release -#Action parsed-html /cgi-bin/parser3_HEAD_release +#apache +#AddHandler parser3-handler html +AddHandler parsed-html html phtml +Action parsed-html /cgi-bin/debug/parser3 +#Action parsed-html /cgi-bin/release/parser3 +#Action parsed-html /cgi-bin/ReleaseHEAD/parser3 +#Action parsed-html /cgi-bin/DebugHEAD/parser3 +#Action parsed-html /cgi-bin/ProfileDebug/parser3 +#Action parsed-html /cgi-bin/DebugV7/parser3 +#Action parsed-html /cgi-bin/p2Debug/parser2 +#Action parsed-html /cgi-bin/release310/parser3 +#Action parsed-html /cgi-bin/release308/parser3 +#Action parsed-html /cgi-bin/release311/parser3 + +RewriteEngine on +RewriteBase / + +RewriteRule ^maximized.htm$ - [L] + +RewriteCond %{REQUEST_URI} !\. +RewriteRule ^(.+[^/])$ http://%{SERVER_NAME}/$1/ [L,R,QSA] + +RewriteCond %{QUERY_STRING} mode=(xml|debug) +RewriteCond %{REMOTE_ADDR} !^(213\.152\.135|195\.151\.168) +RewriteRule (.*) /_doc.html?request=/404/ [L] + +RewriteRule (where2buy/moscow/)metro.gif /_doc.html?request=$1&image=yes [L,QSA] +RewriteRule (tariffs/.*/)full/ /_doc.html?request=$1&full=yes [L,QSA] +RewriteRule (search/)full/ /_doc.html?request=$1&map=full [L,QSA] + +RewriteCond %{REQUEST_URI} !(gif|jpg|png|js|css|exe|zip|rar|pdf|rtf|doc|xls|ppt|swf|ipx|txt|xslt|xsl|dtd|tif|eps|tiff|ico|ent|chm|cfm|gz)$ +RewriteCond %{REQUEST_URI} !/_ +RewriteRule (.*) /_doc.html?request=$1 [L,QSA] + + +Options +IncludesNoExec +AddType text/html .shtml +AddHandler server-parsed .shtml + +ErrorDocument 404 /_error404.shtml +ErrorDocument 500 /_error500.shtml