Aborting common security 'bot requests in Web Server 6.1
By jmccabe on May 19, 2006
An untidy errors log makes me grumpy. An errors log filled with thousands of 404s from robots trying to find common CGIs (or other apps) that they can hijack really annoys me. So similar to how I block requests for direct-linked images, I also simply abort requests that hit common Bad URIs:
Voila! The server still has to go through the first steps of determining what has been requested, but then immediately terminates the request when we see it's for something we don't like. No stat() to the file system, etc.