Ever wanted a single one line way in your httpd.conf to forbid clients based on their User-Agent? Here you go. You should be aware that this is by no means a great way to do security. Far from it actually. Its trivial to change your User-Agent in most browsers. So this really only works if people play nice. Second note, there are a number of ways to do most things, this just happens to be another. Email about other methods will promptly get tossed into /dev/null.
I actually wrote this sometime ago (and I mean like a couple of years ago). I needed it recently so I dug it up again, I am making it public just because I figured it might be useful to someone else.
You can get it from either here via the web or here via ftp.
You are pretty much free to use it as you please. Check
out the License file with the distribution for more details.
Send email to brian@tangent.org.
Enter your bug here here.
Read the INSTALL file that comes along with the module.
Just pop in the allow and deny directives in your httpd.conf or in any directory, location and probably file directive.