Afficher un message
Vieux 17/05/2007, 02h08   #3
sig
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: banning this browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

On 16 May 2007 10:25:21 -0700 no.reply7@comcast.net said
> 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 .



Looks like a good UA to me, but if you want to stop it, try
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/4\.0 \(compatible; MSIE 6\.0; Windows NT 5\.1; SV1\)$

Sig

--
http://koiclubsandiego.org/comment/?r=8
3186fdb515784af427d7bd83018826b9
  Réponse avec citation
 
Page generated in 0,05246 seconds with 9 queries