Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- How are you blocking download managers these days


hottrout - 10:16 am on Mar 1, 2013 (gmt 0)


Just to make sure I am correct in my own code before using it, Will this structure work in the htaccess in terms of position and code :-

RewriteEngine On

SetEnvIfNoCase User-agent (Access|appid) blocklist
SetEnvIfNoCase User-agent (Capture|Client|Copy|crawl|curl) blocklist
SetEnvIfNoCase Request_URI //db blocklist
SetEnvIfNoCase Request_URI /user/soapCaller.bs blocklist
SetEnvIf User-Agent " ; " blocklist
SetEnvIf User-Agent " \( " blocklist
SetEnvIf User-Agent "; " blocklist

order allow,deny
deny from blocklist
allow from all

Is the difference between SetEnvIf and SetEnvIfNoCase that the second just ignores the case?


Thread source:: http://www.webmasterworld.com/apache/4549619.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com