[Resolved] Block Mozilla/5.0 (X11; Linux i686)

Status
Not open for further replies.
#1
Hi, one question, is possible block all the connections that show in my log
Code:
Mozilla/5.0 (X11; Linux i686)
I dont want accept connect with this agent. Regards
 
Last edited by a moderator:

Pong

Administrator
Staff member
#2
You can probably try to use the rewrite rule to block user agent mozilla/5.0:
Let's say:
Code:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} mozilla/5.0 [NC]
RewriteRule .* - [F,L]
 
Last edited by a moderator:

NiteWave

Administrator
#3
or
Code:
RewriteCond %{HTTP_USER_AGENT} mozilla/5.0 [NC]
==>
Code:
RewriteCond %{HTTP_USER_AGENT} " \(X11; Linux i686\)"
 
Last edited by a moderator:
Status
Not open for further replies.
Top