USERAGENT BLOCK how

#1
I searched the forum but could not find any info

I wanna Block "Attacker" from accesing my server all headers with " attacker" should be dropped
please advice thnx
 

brrr

Well-Known Member
#3
Please use URL rewrite for now, Apache compatible BrowserMatch will be added soon.
Bump.

Has this feature arrived? I can't find it.

If it never arrived, what would a v3.3.14 Request Filter rule look like that, for example, performed the same as the following in an Apache http.conf:
Code:
BrowserMatchNoCase ^Jakarta badbot
<Files *>
Order Allow,Deny
Allow from all
Deny from env=badbot
</Files>
?
 

aww

Well-Known Member
#5
Another vote for BrowserMatch

IE8 is going to practically require BrowserMatch to not break existing webpages.

Should be simple to impliment no? It's just a matter of testing the requested string against the user-agent?
 

aww

Well-Known Member
#7
Remember the idea is to be as completely compatible with existing htaccess files as possible.

I want to be able to use something as simple as this:
Code:
BrowserMatch MSIE ie8-support
Header set X-UA-Compatible IE=7 env=ie8-support
 
Top