Afficher un message
Vieux 16/05/2007, 19h25   #1
no.reply7@comcast.net
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut banning this browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

In my htaccess file, I have some restrictions using the following
rule: RewriteCond %{HTTP_USER_AGENT}. One example would be:
RewriteCond %{HTTP_USER_AGENT} ^.*baidu.*$ [NC,OR], which restricts
any browser with baidu in it name.

How can I set up a rule to ban this particular browser: Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; SV1) ? 95% of requests made to
my site by this browser is spam. I thought of using ^.*SV1.*$ but
unfortunately, there are legitimate browsers with SV1 in parts of
their name.

Thanks for the .

--F

  Réponse avec citation
 
Page generated in 0,08650 seconds with 9 queries