PDA

View Full Version : Block IPs



caddickj
09-17-2006, 02:31 PM
Anyone know how to block an IP address from accessing my site? I'm getting a serious amount of SPAM from a single IP in the comments to my blog, and for some reason my spam catcher isn't catching it. I'm working on that angle too, but I just wanna cut the guy off at this point.

Thanks.

eugene
09-17-2006, 03:00 PM
create a .htaccess file and put the offending IP in a deny line:

order allow,deny
deny from xxx.xxx.xxx.xxx
allow from all