Hello,
I am trying to block ua's with "java" anywhere in the string EXCEPT if it comes from a certain IP.
Can anyone look at what's below and give some insight as to why it's not working.
Is something needed other that the .* for it to block anywhere in the string?
Thanks
I tried a rewritecond too but no joy their either.
SetEnvIfNoCase User-Agent .*java.* bad_bot
SetEnvIfNoCase Remote_Addr 123\.4\.56\. open_door
Order Deny,Allow
Deny from bad_bot
Allow from env=open_door