Stupid spambot
Submitted by xqus on Wed, 10/20/2004 - 15:39
Soon after changing to WordPress a spambot visited my blog and posted a comment on all my posts. I looks like this problem is new to the WP community so I hope for a official solution soon.
Anyway, here is my try to stop it. Place the following code in .htaccess:
SetEnvIfNoCase User-Agent "^Mozilla\/4.0 \(compatible; MSIE 5.5; Windows 98; Win 9x 4.90\)" denyThis
<limit GET POST>
Order Allow,Deny
Allow from all
Deny from env=denyThis
</limit>
Tags:
What exactly does the setenvifnocase do? It looks like your blocking out all mozilla users.
- reply
Submitted by Internet TV (not verified) on Fri, 03/14/2008 - 07:17.This is a incredible old post, that don't reallt apply anymore.
This blocks all user agents that pretend to be MSIE 5.5 running on Win 98, wich is about none, except the spambot.
- reply
Submitted by xqus on Sat, 07/12/2008 - 20:53.Post new comment