--- parser3/www/htdocs/Attic/.htaccess 2004/01/30 09:39:45 1.26 +++ parser3/www/htdocs/Attic/.htaccess 2004/07/01 13:39:34 1.35 @@ -1,8 +1,14 @@ +deny from 195.239.227.18 +deny from 194.84.132.18 +deny from 62.32.47.130 +deny from 62.32.63.235 + #apache #AddHandler parser3-handler html -AddHandler parsed-html html phtml -Action parsed-html /cgi-bin/debug/parser3 -#Action parsed-html /cgi-bin/release/parser3 +AddHandler parsed-html html +#Action parsed-html /cgi-bin/bug/parser3 +#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 @@ -11,31 +17,35 @@ Action parsed-html /cgi-bin/debug/parser #Action parsed-html /cgi-bin/release310/parser3 #Action parsed-html /cgi-bin/release308/parser3 #Action parsed-html /cgi-bin/release311/parser3 +#Action parsed-html /cgi-bin/release312/parser3 +#Action parsed-html /cgi-bin/release313/parser3 + + -RewriteEngine on -RewriteBase / -RewriteRule ^maximized.htm$ - [L] +# enabling SSI +Options +Includes +AddHandler server-parsed .htm -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] +AddType image/x-icon ico +AddType text/xml xsl +AddType application/chm chm +#AddType application/octet-stream chm + + +RewriteEngine on +RewriteBase / -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] +DirectoryIndex index.html index.htm -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] +#RewriteMap sub txt:Y:\parser3project\parser3\www\htdocs\sub.txt +#RewriteRule ^(admin/.*) %{SERVER_NAME}/${sub:parser3|map_value_not_found}/$1 +RewriteRule ^admin/(.*) /admin2/%{SERVER_NAME}/$1 +RewriteRule ^admin2/([^/]+)/(.*) http://${sub:$1|NotFound}/admin/$2 [L,P] -Options +IncludesNoExec -AddType text/html .shtml -AddHandler server-parsed .shtml +#RewriteRule ^admin/(.*) /admin2/%{SERVER_NAME}/$1 +#RewriteRule ^admin2/([^.]+)[^/]+/(.*) http/$1.samsung.ru/admin/$2 [L] -ErrorDocument 404 /_error404.shtml -ErrorDocument 500 /_error500.shtml +RewriteRule % /ok.html