1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
## START PHP
AddType application/x-httpd-php .php
Action application/x-httpd-php /cgi-bin/php5.cgi
## STOP PHP
<IfModule mod_rewrite.c>
Order Deny,Allow
Allow from all
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [NC]
RewriteCond %{HTTP_USER_AGENT} ^BackWeb [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Bandit [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^BatchFTP [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^BecomeBot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [NC]
RewriteCond %{HTTP_REFERER} \.opendirviewer\. [NC,OR]
RewriteCond %{THE_REQUEST} \?\ HTTP/ [NC,OR]
RewriteCond %{HTTP_REFERER} users\.skynet\.be.* [NC,OR]
RewriteCond %{QUERY_STRING} \=\|w\| [NC,OR]
RewriteCond %{THE_REQUEST} etc/passwd [NC,OR]
RewriteCond %{REQUEST_URI} owssvr\.dll [NC,OR]
RewriteCond %{QUERY_STRING} \=\|w\| [NC,OR]
RewriteCond %{THE_REQUEST} \/\*\ HTTP/ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Sucker [NC]
RewriteRule . abuse.txt [L]
RewriteCond %{HTTP_HOST} forum.monsite.ch
RewriteCond %{REQUEST_URI} !^/forum/fsb
RewriteRule (.*) /forum/fsb/$1 [L]
RewriteCond %{HTTP_HOST} monsite1.ch
RewriteCond %{REQUEST_URI} !^/monsite1
RewriteRule (.*) /monsite1/$1 [L]
RewriteCond %{HTTP_HOST} monsite2.ch
RewriteCond %{REQUEST_URI} !^/monsite2
RewriteRule (.*) /monsite2/$1 [L]
RewriteCond %{HTTP_HOST} esp.monsite.ch
RewriteCond %{REQUEST_URI} !^/esp
RewriteRule (.*) /esp/$1 [L]
</IfModule> |
Partager