Block specific User Agent

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 1
Joined: 23 May 2014, 06:58

Block specific User Agent

23 May 2014, 07:02

I really can't find a solution, can someone pleas tell me how to block the following specific user agent exactly via isapi rewrite 3.0?

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0

I tried so many ways but it doesnt seem to work...

Please help!

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Block specific User Agent

26 May 2014, 07:52

Hello,

The config should be:

RewriteBase /
RewriteCond %{HTTP_USER_AGENT} Mozilla/5\.0 [NC]
RewriteRule .? - [F]

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 0 guests