Two thirds of my referrer logs now consist of spam. This is unacceptable.
If somebody could tell me why this .htaccess file isn’t working, I’d appreciate it:
SetEnvIfNoCase Referer "http://\*info/$" cockbites Order Deny,Allow Deny from env=cockbites Allow from all
I’d also like a regex that accomodates every string with the word “phentermine” in it. Apparently, I’m missing something key about Apache’s .htaccess regexes, and any help would be appreciated.
I don’t know what kind of a target market these assholes think they’re going for, especially considering that none of these .info domains actually exist. Is this some kind of bizzare cross-pollenation of spamvertising and a DDOS?
Update: Mr. Bruce has revealed my idiocy to me, and my now-correctly-functioning .htaccess file looks like this:
SetEnvIfNoCase Referer "^http://.*info" cockbites Order Deny,Allow Deny from env=cockbites SetEnvIfNoCase Referer hentermin asshats Order Deny,Allow Deny from env=asshats