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