Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- xurl referrer spam


lucy24 - 2:56 am on Apr 14, 2012 (gmt 0)


I feel left out. I get Ukrainians from 92, 95 and 193 but nobody in particular from 192.

Referer blocks can be a useful backup if they suddenly switch IPs on you.

:: shuffling papers ::

RewriteCond %{HTTP_REFERER} \.(trafficfaker\.com|su|mobi)(/|^) [NC]
RewriteRule (\.html|/)$ - [F]

RewriteCond %{HTTP_REFERER} yandsearch\?text=(www\.)?example\.com
RewriteRule (\.html|/)$ - [F]

RewriteCond %{HTTP_REFERER} \.(ru|ua)(/|^) [NC]
RewriteCond %{HTTP_REFERER} !(google|yandex)\.
RewriteRule (\.html|/)$ - [F]

RewriteCond %{HTTP_REFERER} fun/AlonzoMelissa\.html
RewriteRule fun/AlonzoMelissa\.html - [F]

They have to be in that order so the right ones get caught at the right time. I have tried and failed to find a construction that covers auto-referers globally, so I have blocks for a couple of specific pages that seem to be especially attractive to robots.

The second Rule is for the case where a robot-- probably Ukrainian-- puts in a bogus yandsearch referer giving only your domain name. (Yes, I get bona fide humans from Yandex.)


Thread source:: http://www.webmasterworld.com/apache/4440570.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com