|
Crawling Across Chaos and Time Without End
|
|
May
21
2009
How to Quickly Block an IP Address from your WebsiteUse .htaccess!!!I’ve mentioned it before – and the technique I used to use a lot with a huge list of blocked IP addresses. I then decided that the list was too time consuming to maintain and stopped using it except in extreme cases about the end of last year. Such a thing was last night when I got 3 spam comment hits in rapid succession. (is that all, I can hear the cries!). The thing is, I hardly get to see spam because of the measures I’ve used.
So what I did was to quickly add a single block until this little episode is passed, probably a day or so. It relates to this this comment here: http://strange…google-treasure-chest-phone-and-address-list/#comment-1399 This is what I added to my site’s .htaccess file:
Simple innit! WordPress and it’s plugins doesn’t even get to see the ping. Any pings from 78.32.230.59 are effortlessly palmed away. The order of the ‘allow,deny’ is important… Extra InvestigationI did a Google Search on a part of the text that looks really weird here:
The text in the message I used is : “Wall clock. I found only this” Possibly Related Sites
Related Posts by TagsImprove the web with Nofollow Reciprocity. |
© 2007-2010 Strangely Perfect All Rights Reserved
Strangely Perfect is Digg proof thanks to caching by WP Super Cache
[...] I think it’s time I started adding a few blocks to my .htaccess file, ha ha. If you don’t know how to do this, read here. [...]