Hi all. As with most people, my referer spam has gone through the roof recently. It's not a problem for my blog, as I use the check to see if they actually link, but it's still eating up bandwidth. At the moment I'm using:
RewriteCond %{HTTP_REFERER} ^http://(www\.)?homepages.pathfinder.gr/.*$ [OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?online-poker.fly.to/.*$ [NC,OR]
RewriteRule \.*$ http://www.fbi.gov [R,L]
to block the ones I don't want, but this doesn't seem to block subdomains of those domanis. Anyone know what the syntax is I should be using to block all subdomains on these domains?
Thanks
Stuart
and just a reminder to anyone messing with this:
the first condition needs to end in
the middles conditions need to end in
and your last condition (before the rule) needs to end in