File:  [parser3project] / parser3 / www / htdocs / Attic / .htaccess
Revision 1.23: download - view: text, annotated - select for diffs - revision graph
Wed Dec 10 14:17:45 2003 UTC (22 years, 9 months ago) by paf
Branches: MAIN
CVS tags: HEAD
$status:sql.cache back operational

#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

E-mail: