Bonjour Mac,

J'ai eu l'occasion de lire sur plusieurs forums des solutions pour .htaccess afin de créer quelques problèmes au fouineurs et à ceux qui ce font passer pour des googlebot.

J'ai trouvé les règles ci-dessous.
Qu'en pensez-vous ? Sont-elles efficace dans la racine du site ?

A quoi sert la règle :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
RewriteRule . abuse.txt [L]
Merci d'avance pour tes précédents conseils ! J'essaye de les suivre, je lis beaucoup de documents afin de comprendre, mais c'est vraiment pas facile.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
40
41
42
 
.htaccess racine du site
=====================
## 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]
#Redirections de mes domaines & sous-domaines
RewriteCond %{HTTP_HOST} forum.monsite.ch
RewriteCond %{REQUEST_URI} !^/forum/fsb
RewriteRule (.*) /forum/fsb/$1 [L]
RewriteCond %{HTTP_HOST} <a href="http://www.monsite.ch" target="_blank">www.monsite.ch</a>
RewriteCond %{REQUEST_URI} !^/monsite
RewriteRule (.*) /monsite/$1 [L]
RewriteCond %{HTTP_HOST} pointeur_1.ch
RewriteCond %{REQUEST_URI} !^/pointeur_1
RewriteRule (.*) /pointeur_1/$1 [L]
RewriteCond %{HTTP_HOST} pointeur_2.ch
RewriteCond %{REQUEST_URI} !^/pointeur_2
RewriteRule (.*) /pointeur_2/$1 [L]
</IfModule>