Over the years I've looked at my stats to see what IPs and domains are sending me traffic.Then I'll go looking at ones in question and sometimes add them into my good list.
To avoid fuckers like fusker I don't use wildcards in my htaccess so I end up with this really big messy htaccess with way too many lines but my server seems ok with this so who am I to argue with it.
Here are a few lines from mine.
RewriteCond %{HTTP_REFERER} !^http://216.239.57.104*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://216.239.57.104/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://216.239.57.104:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://216.239.57.104:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.alexa.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://alexa.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://alexa.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.alexa.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://alexa.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.alexa.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://alexa.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.alexa.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.google.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.google.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.google.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.google.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.google.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.google.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.google.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.google.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://google.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://google.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://google.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://google.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.search.yahoo.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.search.yahoo.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.search.yahoo.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.search.yahoo.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.search.yahoo.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.search.yahoo.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://images.search.yahoo.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.images.search.yahoo.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yahoo.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yahoo.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yahoo.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yahoo.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yahoo.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yahoo.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yahoo.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yahoo.com:80.*$ [NC]
|