htaccess deny by IP
05 Oct
Posted by firstov
in webmaster
I found out this morning there was someone posting a lot of empty comments all over my site. Since I have Captcha protected comments for visitors the only thing I could have done to protect the site is to setup a block by IP using .htaccess file.
Here is the part of .htaccess file that does the blocking by IP:
Order Allow,Deny
Deny from 205.134.172.
Allow from all
Visitors from 205.134.172.X network will not be able to post and see the content on this site...
Comments
Post new comment