#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/release308/parser3
#Action parsed-html /cgi-bin/release310/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
E-mail: