M mariog Member Jul 29, 2014 #1 Jul 29, 2014 #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: Jul 2, 2018
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
P Pong Administrator Staff member Jul 29, 2014 #2 Jul 29, 2014 #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: Jul 2, 2018
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]
N NiteWave Administrator Jul 30, 2014 #3 Jul 30, 2014 #3 or Code: RewriteCond %{HTTP_USER_AGENT} mozilla/5.0 [NC] ==> Code: RewriteCond %{HTTP_USER_AGENT} " \(X11; Linux i686\)" Last edited by a moderator: Jul 2, 2018
or Code: RewriteCond %{HTTP_USER_AGENT} mozilla/5.0 [NC] ==> Code: RewriteCond %{HTTP_USER_AGENT} " \(X11; Linux i686\)"