Stopping SpamBots With Apache Part II
primetyme writes: "To address some of the concerns brought up in the first article about stopping email harvesting spambots with Apache, I've written a follow-up article that details even more methods to keep email-sucking bots off your Apache based site.
Stopping Spambots II - The Admin Strikes Back continues the epic saga that pits Spambot vs. Administrator."
Stopping Spambots II - The Admin Strikes Back continues the epic saga that pits Spambot vs. Administrator."
Valid point epsalon.. but to clarify, Apache only gets restarted for every *new* IP address detected.. As for the spoofing, it would take a lot of IP's to DOS the server, and anyone willing to go through that much trouble just to take down a webserver probably has better ways to do it. Point taken though :)
Why not just us a .htaccess file in your top-level htdocs directory?
Order by deny,allow
deny from spammers.ip.address.here, another.spammers.ip.address
allow from all
will _probably_ do it (ie this is an untested example!)