USERAGENT BLOCK how

Discussion in 'Feedback/Feature Requests' started by bacanak, Jul 4, 2005.

  1. bacanak

    bacanak New Member

    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
  2. mistwang

    mistwang LiteSpeed Staff

    Please use URL rewrite for now, Apache compatible BrowserMatch will be added soon.
  3. brrr

    brrr New Member

    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>
    ?
  4. brrr

    brrr New Member

    Last edited: Jun 30, 2008
  5. aww

    aww New Member

    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?
  6. mistwang

    mistwang LiteSpeed Staff

    Since you can implement the same logic with a rewrite rule, we don't see the need for supporting BrowserMatch explicitly.
  7. aww

    aww New Member

    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

Share This Page