1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Block by specify header?

Discussion in 'Apache' started by invalidbg, Aug 13, 2017.

  1. #1
    I want to block specific headers with htaccess, but it does not work and has no effect. How can it be obtained?
    With Apache 2.4 I am.

    SetEnvIfNoCase User-Agent "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36" bad_user
    Order Allow,Deny
    Allow from All
    Deny from env=bad_bot
    invalidbg, Aug 13, 2017 IP