Recent Topics

1 Feb 05, 2005 11:02    

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\.)?*$ [OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?*$ [NC,OR]
RewriteRule \.*$ [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?


2 Feb 05, 2005 19:30

RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)online-poker(-|.).*$ [NC,OR]

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


Form is loading...