Skip to content

Instantly share code, notes, and snippets.

@oguzserdar
Last active August 29, 2015 14:22
Show Gist options
  • Save oguzserdar/64a67a240f1069e65822 to your computer and use it in GitHub Desktop.
Save oguzserdar/64a67a240f1069e65822 to your computer and use it in GitHub Desktop.
Stop the referrer spam
# This blacklist is ready to use in your site's root htaccess file
# Banned websites and crawlers
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*semaltmedia\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*100dollars-seo\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*12masterov\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*4webmasters\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*7makemoneyonline\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*acads\.net(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*adcash\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*adviceforum\.info(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*affordablewebsitesandmobileapps\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*anal-acrobats\.hol\.es(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*anticrawler\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*bard-real\.com\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*best-seo-offer\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*best-seo-solution\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*bestwebsitesawards\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*billiard-classic\.com\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*blackhatworth\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*brakehawk\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*buttons-for-website\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*buttons-for-your-website\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*buy-cheap-online\.info(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*buy-forum\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*cardiosport\.com\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*cenokos\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*cenoval\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*cityadspix\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*ci\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*customsua\.com\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*darodar\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*delfin-aqua\.com\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*dipstar\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*domination\.ml(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*drupa\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*dvr\.biz\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*econom\.co(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*edakgfvwql\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*e-kwiaciarz\.pl(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*este-line\.com\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*europages\.com\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*event-tracking\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*forum20.smailik\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*forum69\.info(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*free-share-buttons\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*free-social-buttons\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*generalporn\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*get-free-traffic-now\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*ghazel\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*gobongo\.info(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*googlsucks\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*guardlink\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*hulfingtonpost\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*humanorightswatch\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*ico\.re(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*iloveitaly\.ro(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*iloveitaly\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*ilovevitaly\.co(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*ilovevitaly\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*ilovevitaly\.info(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*ilovevitaly\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*ilovevitaly\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*iminent\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*iskalko\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*it-max\.com\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*kabbalah-red-bracelets\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*kambasoft\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*luxup\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*makemoneyonline\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*maridan\.com\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*masterseek\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*mebeldekor\.com\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*med-zdorovie\.com\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*mirobuvi\.com\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*myftpupload\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*ok\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*onlywoman\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*o-o-6-o-o\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*o-o-8-o-o\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*palvira\.com\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*pornhub-forum\.ga(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*pornhub-forum\.uni\.me(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*priceg\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*prodvigator\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*ranksonic\.info(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*ranksonic\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*rapidgator-porn\.ga(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*resellerclub\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*sanjosestartups\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*savetubevideo\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*screentoolkit\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*search-error\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*semalt\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*seoexperimenty\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*sexyteens\.hol\.es(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*shop.xz618\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*simple-share-buttons\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*slftsdybbg\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*social-buttons\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*socialseet\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*superiends\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*theguardlan\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*trafficmonetize\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*trion\.od\.ua(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*vodkoved\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*webmaster-traffic\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*websites-reviews\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*websocial\.me(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*ykecwqlixx\.ru(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*youporn-forum\.ga(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*youporn-forum\.uni\.me(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*наркомания.лечениенаркомании\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*непереводимая\.рф(/|:|$)" banned
Order Deny,Allow
Deny from env=banned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment