Mar 08, 2010
Blocking IPs with .htaccess
Today I got quite a bit of comment spam. In researching a possible solution, I have learned how to block IP addresses in the .htaccess file. I never had much experience working with that file but I’m starting to explore what can be done. Here’s an example. Each line containing an IP address can be changed accordingly.
order allow,deny deny from 123.456.78.901 deny from 123.456.78.901 deny from 123.456.78.901 deny from 123.456.78.901 allow from all
Useful post indeed