Referrer Spam

Blocking referrer (aka referer) SPAM using mod_rewrite is nothing original. But for what it’s worth, here is my conf. It’s a symlink to my current copy, so it will always be up-to-date.

referrer-spam.conf

 If you’re running Debian, just put it in /etc/apache2/conf.d and run

apache2ctl restart

A nice updated list of spam referrers can be found at

http://www.glop.org/referrers/faking-referrers.txt

 You can test it by clicking on http://www.osterman.com/test-referrer-spam

 

Related posts:

  1. PHP array_shift pass-by-reference

Leave a Reply

Your email address will not be published. Required fields are marked *

*