Code:#Block referers based on KEYWORDS anywhere in their URL.
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)4free(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)4u(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)6q(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)a2z(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)accept(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)adult(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)affiliate(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)alumni(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)amateur(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)apply(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)ambien(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)anal(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)associate(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)atlanta(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)azian(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)bank(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)biz(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)blackjack(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)busty(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)brokers(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)casino(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)cash(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)celebrex(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)cialis(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)condo(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)cpa(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)credit(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)dating(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)debt(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)devil(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)diet(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)discount(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)dvd(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)easy(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)emedia(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)enterprise(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)episode(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)escort(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)farm(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)fidelity(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)formula(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)foundation(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)fu*k(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)f***(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)gambling(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)gay(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)holdem(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)home(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)horny(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)hotel(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)house(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)hydrocodone(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)incest(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)insurance(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)jerusalem(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)lesbian(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)levitra(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)lighting(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)loan(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)locator(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)lotto(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)mail(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)mall(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)mature(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)merchant(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)milf(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)money(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)mortgage(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)myhost(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)nasty(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)nude(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)pain\-killers(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)paxil(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)pharmacies(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)pharmacy(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)phentermine(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)poker(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)porn(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)properties(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)prozac(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)pus*y(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)pussy(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)rental(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)sex(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)slots(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)soma(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)sport(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)swinger(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)teen(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)texas(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)thai(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)tits(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)ultram(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)valium(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)vegas(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)viagra(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)vicodin(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)visor(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)warez(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)watches(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)weight(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)xanax(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)xxx(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)yacht(-|.).*$ [NC,OR]
#Block referers from specific web sites.
RewriteCond %{HTTP_REFERER} (21pod) [NC,OR]
RewriteCond %{HTTP_REFERER} (250x) [NC,OR]
RewriteCond %{HTTP_REFERER} (4italiancharms) [NC,OR]
RewriteCond %{HTTP_REFERER} (9sekund) [NC,OR]
RewriteCond %{HTTP_REFERER} (aaacloseoutsnetwork) [NC,OR]
RewriteCond %{HTTP_REFERER} (a9) [NC,OR]
RewriteCond %{HTTP_REFERER} (accepted) [NC,OR]
RewriteCond %{HTTP_REFERER} (aeterna-tech.com) [NC,OR]
RewriteCond %{HTTP_REFERER} (andrewsaluk) [NC,OR]
RewriteCond %{HTTP_REFERER} (alleghanyeda) [NC,OR]
RewriteCond %{HTTP_REFERER} (algebra-test) [NC,OR]
RewriteCond %{HTTP_REFERER} (archined) [NC,OR]
RewriteCond %{HTTP_REFERER} (asianrelations) [NC,OR]
RewriteCond %{HTTP_REFERER} (atspace) [NC,OR]
RewriteCond %{HTTP_REFERER} (autoglaser-scout) [NC,OR]
RewriteCond %{HTTP_REFERER} (autospiegel) [NC,OR]
RewriteCond %{HTTP_REFERER} (avalon) [NC,OR]
RewriteCond %{HTTP_REFERER} (axionfootwear) [NC,OR]
RewriteCond %{HTTP_REFERER} (barnevakten) [NC,OR]
RewriteCond %{HTTP_REFERER} (baden24) [NC,OR]
RewriteCond %{HTTP_REFERER} (bestall) [NC,OR]
RewriteCond %{HTTP_REFERER} (bizclassifiedsplace) [NC,OR]
RewriteCond %{HTTP_REFERER} (blogspot) [NC,OR]
RewriteCond %{HTTP_REFERER} (brugtespil) [NC,OR]
RewriteCond %{HTTP_REFERER} (brutalblowjobs) [NC,OR]
RewriteCond %{HTTP_REFERER} (candiria) [NC,OR]
RewriteCond %{HTTP_REFERER} (carisoprodol) [NC,OR]
RewriteCond %{HTTP_REFERER} (cialis) [NC,OR]
RewriteCond %{HTTP_REFERER} (clarich) [NC,OR]
RewriteCond %{HTTP_REFERER} (closeouts-central) [NC,OR]
RewriteCond %{HTTP_REFERER} (codychesnutt) [NC,OR]
RewriteCond %{HTTP_REFERER} (conecrusher) [NC,OR]
RewriteCond %{HTTP_REFERER} (continentaltirebowl.com) [NC,OR]
RewriteCond %{HTTP_REFERER} (dreambook) [NC,OR]
RewriteCond %{HTTP_REFERER} (ducoon) [NC,OR]
RewriteCond %{HTTP_REFERER} (dyndns) [NC,OR]
RewriteCond %{HTTP_REFERER} (edthompson) [NC,OR]
RewriteCond %{HTTP_REFERER} (emffsquad) [NC,OR]
RewriteCond %{HTTP_REFERER} (erotic) [NC,OR]
RewriteCond %{HTTP_REFERER} (eviliscious.com) [NC,OR]
RewriteCond %{HTTP_REFERER} (feathers) [NC,OR]
RewriteCond %{HTTP_REFERER} (ford) [NC,OR]
RewriteCond %{HTTP_REFERER} (forskning) [NC,OR]
RewriteCond %{HTTP_REFERER} (foxmediasolutions.com) [NC,OR]
RewriteCond %{HTTP_REFERER} (globaleducationeurope.net) [NC,OR]
RewriteCond %{HTTP_REFERER} (golf) [NC,OR]
RewriteCond %{HTTP_REFERER} (handy) [NC,OR]
RewriteCond %{HTTP_REFERER} (hellclan) [NC,OR]
RewriteCond %{HTTP_REFERER} (hot.ee) [NC,OR]
RewriteCond %{HTTP_REFERER} (jroundup) [NC,OR]
RewriteCond %{HTTP_REFERER} (jubii) [NC,OR]
RewriteCond %{HTTP_REFERER} (kabel1) [NC,OR]
RewriteCond %{HTTP_REFERER} (kfzbetrieb) [NC,OR]
RewriteCond %{HTTP_REFERER} (kuckdoch) [NC,OR]
RewriteCond %{HTTP_REFERER} (kylos) [NC,OR]
RewriteCond %{HTTP_REFERER} (landsend) [NC,OR]
RewriteCond %{HTTP_REFERER} (latinonakedgirl) [NC,OR]
RewriteCond %{HTTP_REFERER} (livecamsdir) [NC,OR]
RewriteCond %{HTTP_REFERER} (livenet) [NC,OR]
RewriteCond %{HTTP_REFERER} (liveplanets.com) [NC,OR]
RewriteCond %{HTTP_REFERER} (lycos) [NC,OR]
RewriteCond %{HTTP_REFERER} (lyopsrulezforever) [NC,OR]
RewriteCond %{HTTP_REFERER} (maturex3) [NC,OR]
RewriteCond %{HTTP_REFERER} (megrisoft) [NC,OR]
RewriteCond %{HTTP_REFERER} (mundoemule) [NC,OR]
RewriteCond %{HTTP_REFERER} (myblogsite) [NC,OR]
RewriteCond %{HTTP_REFERER} (netfirms) [NC,OR]
RewriteCond %{HTTP_REFERER} (online.biz) [NC,OR]
RewriteCond %{HTTP_REFERER} (phntrmn) [NC,OR]
RewriteCond %{HTTP_REFERER} (plataforma-asp) [NC,OR]
RewriteCond %{HTTP_REFERER} (protzonbeer) [NC,OR]
RewriteCond %{HTTP_REFERER} (quickcontactsonline) [NC,OR]
RewriteCond %{HTTP_REFERER} (qxl) [NC,OR]
RewriteCond %{HTTP_REFERER} (radarfalle) [NC,OR]
RewriteCond %{HTTP_REFERER} (rentacoder) [NC,OR]
RewriteCond %{HTTP_REFERER} (ringtone) [NC,OR]
RewriteCond %{HTTP_REFERER} (roxtet) [NC,OR]
RewriteCond %{HTTP_REFERER} (rstrading) [NC,OR]
RewriteCond %{HTTP_REFERER} (ru.ru) [NC,OR]
RewriteCond %{HTTP_REFERER} (saab) [NC,OR]
RewriteCond %{HTTP_REFERER} (sbj-broadcasting) [NC,OR]
RewriteCond %{HTTP_REFERER} (shape.de) [NC,OR]
RewriteCond %{HTTP_REFERER} (shpirti) [NC,OR]
RewriteCond %{HTTP_REFERER} (skip) [NC,OR]
RewriteCond %{HTTP_REFERER} (skynetblogs) [NC,OR]
RewriteCond %{HTTP_REFERER} (spray) [NC,OR]
RewriteCond %{HTTP_REFERER} (startkabel) [NC,OR]
RewriteCond %{HTTP_REFERER} (super-illu) [NC,OR]
RewriteCond %{HTTP_REFERER} (testthis) [NC,OR]
RewriteCond %{HTTP_REFERER} (timberfrog) [NC,OR]
RewriteCond %{HTTP_REFERER} (tiscali) [NC,OR]
RewriteCond %{HTTP_REFERER} (tonspion) [NC,OR]
RewriteCond %{HTTP_REFERER} (unifac) [NC,OR]
RewriteCond %{HTTP_REFERER} (volja) [NC,OR]
RewriteCond %{HTTP_REFERER} (wanadoo) [NC]
|