--- parser3/www/htdocs/Attic/.htaccess 2002/05/15 08:58:01 1.3 +++ parser3/www/htdocs/Attic/.htaccess 2003/12/10 14:17:45 1.23 @@ -1,17 +1,47 @@ -#setenv TEST /foo/bin2 -#setenv HTTP_TEST /foo/bin3!2 -#setenv HTTP_PARSER_SITE_CONFIG /foo/bin3! -#setenv DOCUMENT_ROOT /test/3 - - -addhandler parser3-handler html -addhandler parser3-cgi-handler cgihtml -action parser3-cgi-handler /cgi-bin/parser3 - -order deny,allow -deny from all - -#design network -allow from 195.218.200 -allow from 192.168 -allow from 213.152.135 +#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 + +#addtype 'multipart/related;boundary="===== This is the multipart mime bounda=====184532178"' html +#addtype application/x-x509-user-cert cer + + +RewriteEngine on +RewriteBase / + + +RewriteRule ^(_|maximized) - [L] + +RewriteRule ^parser- - [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] + +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)$ +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