Archive for May, 2008
Monthly Archive
Thursday, May 29th, 2008
Apache Tip: Blocking by User-Agent in Tomcat/mod_jk configurations
The key here is using Location (instead of Directory) for your Deny directive (otherwise your JkUnmount’d calls will not be blocked)
SetEnvIfNoCase User-Agent “Firefox” bad_bot
<Location “/”>
Deny from env=bad_bot
</Location>
