well anyway...
now that ive gotten a hit in my log from, of all places, alexking.org, i tested the code again to make sure it was actually blocking something (only checked that it wasnt blocking something before) and in fact, it wasnt.
Heres the 2 correct ways to block the user-agent I described in one page back (if it happens to come across your site)
No mod_rewrite or just dont like to use it (use macmanx's way above) but use this:
SetEnvIfNoCase User-Agent ".*(compatible; MSIE 6.0; Windows NT 5.1)" spammer_yes
want to use mod_rewrite:
RewriteCond %{HTTP_USER_AGENT} "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" [NC]
RewriteRule ^(.*) http://%{REMOTE_ADDR}/ [R=301,L]
personally, i prefer the mod_rewrite way since the other way actually shows them a page, whereas this mod_rewrite rule redirects them back to the proxy ip (perhaps putting a glitch in their crawling).
nm, again I respectfully submit that everyone is free to do what they like regarding any kind of spam. It seems to me there is plenty of energy on this forum already dedicated to spam, spam plugins, trackback spam, comment spam, you name it spam, that surely one more thread wont be the end of civilization?
It isnt anyone here's fault that this is "drudgery" and no longer "fun and exciting", for you, I guess?
For the record its been shown that, statistically speaking, very few "people" are responsible for the vast majority of spam on the 'net. They are outnumbered by us, if that's any concilation.
"What's the sense of even having a site when most of your effort goes towards ensuring that your back door is locked from intruders?"
Firstly, there are entire sites dedicated to nothing else but combatting spam. Surely these people must derive some fun from it?
Secondly, its not really a case of "most" of the effort, its a little bit of effort, atleast for me, with a lot of reward.
Third, do you leave your front door unlocked when you go to bed at night? Im guessing not. :)
the entries above are testable using wannabrowser.com or firefox's user-agent switcher btw.
and here is another awesome tool for creating kickass .htaccess's:
http://joseluis.pellicer.org/ua/configure.html