Stevie-Ray / referrer-spam-blocker

Apache, Nginx, IIS, uWSGI, Caddy & Varnish blacklist + Google Analytics segments to prevent referrer spam traffic 🤖
MIT License
374 stars 86 forks source link

500 Error #15

Closed borisdifiore closed 9 years ago

borisdifiore commented 9 years ago

Hi,

I'm trying to use your htaccess to block referral spam. I have the following problem If I add to my htaccess the below part of the code I get a 500 internal server error. The rest works fine Can you help?

SetEnvIfNoCase Referer 4webmasters.org spambot=yes SetEnvIfNoCase Referer 7makemoneyonline.com spambot=yes SetEnvIfNoCase Referer acunetix-referrer.com spambot=yes SetEnvIfNoCase Referer adcash.com spambot=yes SetEnvIfNoCase Referer advokateg.com spambot=yes SetEnvIfNoCase Referer advokateg.ru spambot=yes SetEnvIfNoCase Referer baixar-musicas-gratis.com spambot=yes SetEnvIfNoCase Referer best-seo-offer.com spambot=yes SetEnvIfNoCase Referer best-seo-solution.com spambot=yes SetEnvIfNoCase Referer bestwebsitesawards.com spambot=yes SetEnvIfNoCase Referer blackhatworth.com spambot=yes SetEnvIfNoCase Referer buttons-for-website.com spambot=yes SetEnvIfNoCase Referer buttons-for-your-website.com spambot=yes SetEnvIfNoCase Referer buy-cheap-online.info spambot=yes SetEnvIfNoCase Referer cenokos.ru spambot=yes SetEnvIfNoCase Referer cenoval.ru spambot=yes SetEnvIfNoCase Referer cityadspix.com spambot=yes SetEnvIfNoCase Referer darodar.com spambot=yes SetEnvIfNoCase Referer descargar-musicas-gratis.com spambot=yes SetEnvIfNoCase Referer econom.co spambot=yes SetEnvIfNoCase Referer edakgfvwql.ru spambot=yes SetEnvIfNoCase Referer event-tracking.com spambot=yes SetEnvIfNoCase Referer fbdownloader.com spambot=yes SetEnvIfNoCase Referer forum20.smailik.org spambot=yes SetEnvIfNoCase Referer free-share-buttons.com spambot=yes SetEnvIfNoCase Referer free-social-buttons.com spambot=yes SetEnvIfNoCase Referer googlsucks.com spambot=yes SetEnvIfNoCase Referer gobongo.info spambot=yes SetEnvIfNoCase Referer guardlink.org spambot=yes SetEnvIfNoCase Referer hulfingtonpost.com spambot=yes SetEnvIfNoCase Referer humanorightswatch.org spambot=yes SetEnvIfNoCase Referer iedit.ilovevitaly.com spambot=yes SetEnvIfNoCase Referer ilovevitaly.com spambot=yes SetEnvIfNoCase Referer ilovevitaly.co spambot=yes SetEnvIfNoCase Referer ilovevitaly.info spambot=yes SetEnvIfNoCase Referer ilovevitaly.org spambot=yes SetEnvIfNoCase Referer ilovevitaly.ru spambot=yes SetEnvIfNoCase Referer iskalko.ru spambot=yes SetEnvIfNoCase Referer lomb.co spambot=yes SetEnvIfNoCase Referer luxup.ru spambot=yes SetEnvIfNoCase Referer make-money-online.7makemoneyonline.com spambot=yes SetEnvIfNoCase Referer maps.ilovevitaly.com spambot=yes SetEnvIfNoCase Referer myftpupload.com spambot=yes SetEnvIfNoCase Referer net.hts.ru spambot=yes SetEnvIfNoCase Referer offers.bycontext.com spambot=yes SetEnvIfNoCase Referer o-o-6-o-o.ru spambot=yes SetEnvIfNoCase Referer o-o-6-o-o.com spambot=yes SetEnvIfNoCase Referer o-o-8-o-o.ru spambot=yes SetEnvIfNoCase Referer priceg.com spambot=yes SetEnvIfNoCase Referer resellerclub.com spambot=yes SetEnvIfNoCase Referer responsinator.com spambot=yes SetEnvIfNoCase Referer ?????.?? spambot=yes SetEnvIfNoCase Referer savetubevideo.com spambot=yes SetEnvIfNoCase Referer screentoolkit.com spambot=yes SetEnvIfNoCase Referer semalt.com spambot=yes SetEnvIfNoCase Referer seoexperimenty.ru spambot=yes SetEnvIfNoCase Referer shopping.ilovevitaly.ru spambot=yes SetEnvIfNoCase Referer simple-share-buttons.com spambot=yes SetEnvIfNoCase Referer slftsdybbg.ru spambot=yes SetEnvIfNoCase Referer socialseet.ru spambot=yes SetEnvIfNoCase Referer social-buttons.com spambot=yes SetEnvIfNoCase Referer srecorder.com spambot=yes SetEnvIfNoCase Referer st3.cwl.yahoo.com spambot=yes SetEnvIfNoCase Referer superiends.org spambot=yes SetEnvIfNoCase Referer theguardlan.com spambot=yes SetEnvIfNoCase Referer vodkoved.ru spambot=yes SetEnvIfNoCase Referer websocial.me spambot=yes SetEnvIfNoCase Referer www1.social-buttons.com spambot=yes SetEnvIfNoCase Referer www.Get-Free-Traffic-Now.com spambot=yes SetEnvIfNoCase Referer ykecwqlixx.ru spambot=yes SetEnvIfNoCase Referer yougetsignal.com spambot=yes
marcinwasilewski commented 9 years ago

You should look into your error log for details. Your apache might be missing mod_setenvif.

Stevie-Ray commented 9 years ago

Well i think the error was caused by a non utf-8 rule, so i removed годом.рф

borisdifiore commented 9 years ago

Thank you Stevie! Indeed it was :+1: