schnipz/elemental/master/dist/.htaccess - Htaccess File

schnipz/elemental/master/dist/.htaccess

#-------------------------------------------------------------------------------
# This file is designed to be a template .htaccess file to put on new Apache
# based web server - setting a basic level of security and performance.
# It requires configuration and is NOT meant to just be drop in. Please follow
# the README.md before proceeding.
# DO NOT rely on this .htaccess as your only security mechanism.
#-------------------------------------------------------------------------------

RewriteEngine On
Options +FollowSymLinks

#-------------------------------------------------------------------------------
# Setup secure area
#-------------------------------------------------------------------------------
# AuthName "Secure Area"
# AuthType Basic
# AuthUserFile /home/example/public_html/.htpasswd
# Require valid-user

#-------------------------------------------------------------------------------
# Usual suspects
#-------------------------------------------------------------------------------
RewriteBase /
RewriteCond %{HTTP_HOST} ^example.com$
RewriteRule ^/?$ "http://www.example.com" [L,R=301]
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.php$ http://www.example.com/$1 [L,R=301]
# ErrorDocument 404 /
FileETag MTime Size

#-------------------------------------------------------------------------------
# No directory listings
#-------------------------------------------------------------------------------
IndexIgnore *
Options +FollowSymLinks All -Indexes
DirectoryIndex index.php index.html

#-------------------------------------------------------------------------------
# Bulk redirects
#-------------------------------------------------------------------------------
# RedirectMatch 301 ^/oldPathname/([^/]+)/$    http://www.example.com/newPathname/$3

#-------------------------------------------------------------------------------
# Individual redirects
#-------------------------------------------------------------------------------
# Redirect 301 /oldPathname            /newPathname/

#-------------------------------------------------------------------------------
# Block common hacks/hogs
#-------------------------------------------------------------------------------
# https://github.com/Stevie-Ray/apache-nginx-referral-spam-blacklist
# Updated 2015-12-15 01:57:18

<IfModule mod_rewrite.c>
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*0n-line.tv.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*100dollars-seo.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*12masterov.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*1pamm.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*1webmaster.ml.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*45tahunkhongguan.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*4webmasters.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*5forex.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*76brighton.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*7makemoneyonline.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*7zap.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*abovetherivernc.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*acads.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*acunetix-referrer.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*adcash.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*addons.mozilla.org/en-US/firefox/addon/ilovevitaly.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*adelly.bg.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*adf.ly.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*adspart.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*adventureparkcostarica.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*adviceforum.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*advokateg.co.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*advokateg.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*advokateg.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*affordablewebsitesandmobileapps.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*afora.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*akuhni.by.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*alessandraleone.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*alfa9.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*alibestsale.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*allknow.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*allnews.md.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*allwomen.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*alpharma.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*altermix.ua.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*amanda-porn.ga.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*amt-k.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*anapa-inns.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*android-style.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*anticrawler.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*aosheng-tech.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*arendakvartir.kz.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*arkkivoltti.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*artparquet.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*aruplighting.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*audiobangout.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*autobrennero.it.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*autovideobroadcast.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*aviva-limoux.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*avkzarabotok.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*avkzarabotok.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*awency.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*azartclub.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bablonow.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*backgroundpictures.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*baixar-musicas-gratis.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*baladur.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*balitouroffice.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bard-real.com.ua.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bausparen.bz.it.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bbtec.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*best-seo-offer.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*best-seo-software.xyz.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*best-seo-solution.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bestmobilityscooterstoday.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bestwebsitesawards.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bif-ru.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*biglistofwebsites.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*billiard-classic.com.ua.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bioca.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bizru.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bkns.vn.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*black-friday.ga.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*blackhatworth.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*blackle.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*blogtotal.de.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*blue-square.biz.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bluerobot.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*boleznikogi.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bookmark4you.biz.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bookmark4you.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*boost-my-site.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*brakehawk.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*break-the-chains.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bristolhostel.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bristolhotel.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bristolhotel.com.ua.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*brk-rti.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*brothers-smaller.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*budmavtomatika.com.ua.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*burger-imperia.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*buttons-for-website.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*buttons-for-your-website.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*buy-cheap-online.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*buy-forum.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*buyantiviralwp.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*buypharmacydrug.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*bycontext.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*callejondelpozo.es.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cardiosport.com.ua.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cartechnic.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cbcseward.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cbox.ws.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cenokos.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cenoval.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cezartabac.ro.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cherrypointplace.ca.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cherubinimobili.it.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*chinese-amezon.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ci.ua.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cityadspix.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*civilwartheater.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*clicksor.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*clmforexeu.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*coderstate.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*codysbbq.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*conciergegroup.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*connectikastudio.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*constantaservice.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*contextualyield.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*copyrightclaims.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*covadhosting.biz.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cubook.supernew.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*customsua.com.ua.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cyber-monday.ga.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*cyprusbuyproperties.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*dailyrank.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*darodar.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*dbutton.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*delfin-aqua.com.ua.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*demenageur.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*depositfiles-porn.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*descargar-musica-gratis.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*detskie-konstruktory.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*dipstar.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*directrev.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*djekxa.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*dojki-hd.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*doktoronline.no.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*domination.ml.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*doska-vsem.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*dostavka-v-krym.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*drupa.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*dvr.biz.ua.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*e-buyeasy.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*e-kwiaciarz.pl.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*e2click.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ecomp3.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*econom.co.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*edakgfvwql.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*edelstahlschornstein-123.de.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*egovaleo.it.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ekto.ee.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*elitesportsadvisor.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*elmifarhangi.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*embedle.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*eredijovon.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*erot.co.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*escort-russian.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*este-line.com.ua.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*euromasterclass.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*europages.com.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*eurosamodelki.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*event-tracking.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*extener.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*extremez.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*family1st.ca.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*fast-wordpress-start.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*fbdownloader.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*fbfreegifts.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*feedouble.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*feedouble.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ferieboligkbh.dk.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*filmetricsasia.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*fitness-video.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*fiverr.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*floating-share-buttons.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*forex-procto.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*forsex.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*forum69.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*foxtechfpv.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*free-floating-buttons.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*free-share-buttons.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*free-social-buttons.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*freeseedsonline.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*freewhatsappload.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*fsalas.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ftns.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*fungirlsgames.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*funnypica.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*generalporn.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*germes-trans.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*get-free-social-traffic.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*get-free-traffic-now.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*get-your-social-buttons.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*getprismatic.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*girlporn.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*gkvector.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*glavprofit.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*gobongo.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*goodprotein.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*googlemare.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*googlsucks.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*gototal.co.nz.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*guardlink.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*guardlink.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*h2monline.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*handicapvantoday.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*hazardky.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*hol.es.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*hongfanji.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*hostcritique.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*hosting-tracker.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*hostingclub.lk.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*houseofrose.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*how-to-earn-quick-money.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*howopen.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*howtostopreferralspam.eu.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*hulfingtonpost.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*humanorightswatch.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*hundejo.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*hvd-store.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ico.re.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*igru-xbox.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*iloveitaly.ro.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*iloveitaly.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ilovevitaly.co.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ilovevitaly.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ilovevitaly.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ilovevitaly.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ilovevitaly.ro.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ilovevitaly.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*iminent.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*imperiafilm.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*inboxdollars.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*intermesh.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*investpamm.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*invivo.hu.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*iskalko.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ispaniya-costa-blanca.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*istanbulit.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*it-max.com.ua.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*itronics.ca.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*itsdp3.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*jasonpartington.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*jazzstyle4us.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*jjbabskoe.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*joinandplay.me.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*joingames.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*justprofit.xyz.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*jwss.cc.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*kabbalah-red-bracelets.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*kambasoft.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*kazrent.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*kino-fun.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*kino-key.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*kinopolet.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*kiwe-analytics.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*knigonosha.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*konkursov.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*kosova.de.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*laxdrills.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*leadwayau.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*littleberry.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*livefixer.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*lmrauction.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*lol-smurfs.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*lombia.co.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*lombia.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*lsex.xyz.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*lumb.co.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*luxup.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*m1media.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*magento-crew.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mainlinehobby.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*makemoneyonline.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*malls.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*manualterap.roleforum.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*maridan.com.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*masterseek.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*maxthon.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mebelcomplekt.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mebeldekor.com.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*med-zdorovie.com.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*medi-fitt.hu.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*medicovi.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*medispainstitute.com.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*meendo-free-traffic.ga.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mericanmopedstore.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*micasainvest.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*microsearch.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*minegam.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mini.7zap.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mir-betting.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mirobuvi.com.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mirtorrent.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mobilemedia.md.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*motion-interactive.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mountainstream.ms.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*moyakuhnia.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mpftpupload.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mrmoneymustache.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*msk.afora.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*muscle-factory.com.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*musicas.baixar-musicas-gratis.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*musicprojectfoundation.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*mycaf.it.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*myftpupload.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*myprintscreen.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*nate.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*nextconseil.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*niki-mlt.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*notaria-desalas.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*noumeda.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*novosti-hi-tech.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*nullrefer.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*o-o-6-o-o.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*o-o-6-o-o.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*o-o-8-o-o.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*o-o-8-o-o.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*offers.bycontext.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*online-hit.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*onlywoman.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ooo-olni.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*openfrost.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*openmediasoft.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*osoznanie-narkotikam.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ozas.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*palvira.com.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*paparazzistudios.com.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pensplan.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pensplan4u.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*petrovka-online.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*photokitchendesign.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pizza-imperia.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pizza-tycoon.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pochemychka.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*poisk-zakona.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pops.foundation.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pornhub-forum.ga.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pornhub-forum.uni.me.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pornhub-ru.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pornhubforum.tk.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pornoforadult.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*portnoff.od.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*powitania.pl.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pozdravleniya-c.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*priceg.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pricheski-video.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*princeadvantagesales.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*printingpeach.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*prlog.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*producm.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*prodvigator.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*prohoster.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*prointer.net.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*promoforum.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*proposal-engine.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*psa48.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*putitin.me.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*pyrodesigns.com.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*qitt.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*qualitymarketzone.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*quit-smoking.ga.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*qwesa.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*rankings-analytics.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*rankscanner.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ranksignals.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ranksonic.info.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ranksonic.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ranksonic.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*rapidgator-porn.ga.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*rcb101.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*realting-moscow.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*rednise.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*rentalmaty.kz.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*research.ifmo.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*resellerclub.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*retreatia.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*reversing.cc.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*rightenergysolutions.com.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*risparmiocasa.bz.it.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*rospromtest.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*rusexy.xyz.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sady-urala.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*salutmontreal.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sanjosestartups.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*santasgift.ml.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*savetubevideo.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*screentoolkit.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*scripted.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*search-error.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*search-helper.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*semalt.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*semaltmedia.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*seo-platform.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*seo-smm.kz.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*seoanalyses.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*seoexperimenty.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*seokicks.de.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*seopub.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*setioweb.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sexyali.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sharebutton.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sharebutton.to.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sharemyfile.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*shop.xz618.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sibecoprom.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*simple-share-buttons.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*siteripz.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sitevaluation.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sitevaluation.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sklad-24.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sledstvie-veli.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*slftsdybbg.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*slkrm.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*smailik.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*snip.to.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*soaksoak.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*social-buttons.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*socialseet.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*softomix.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*softomix.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*softomix.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*softomix.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sohoindia.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*solnplast.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sonyelektronik.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*sosdepotdebilan.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*soundfrost.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*spb.afora.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*spravka130.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*srecorder.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*steame.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*streha-metalko.si.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*success-seo.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*superiends.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*supernew.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*superpages.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*susanholtphotography.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*taihouse.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*tastyfoodideas.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*tattooha.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*teastory.co.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*tedxrj.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*thecoral.com.br.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*theguardlan.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*thepokertimer.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*tomck.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*top1-seo-service.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*torture.ml.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*touchmods.fr.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*traffic2cash.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*traffic2money.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*trafficmonetize.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*trafficmonetizer.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*traffictomoney.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*trion.od.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*trk-4.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*twincitiescarservice.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*uasb.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*uni.me.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*urlopener.blogspot.com.au.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*uzungil.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*vapmedia.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*video--production.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*video-woman.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*videofrost.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*videofrost.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*videos-for-your-business.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*viel.su.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*viktoria-center.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*vodaodessa.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*vodkoved.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*web-betting.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*webmaster-traffic.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*webmonetizer.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*website-errors-scanner.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*websites-reviews.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*websocial.me.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*williamrobsonproperty.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*wmasterlead.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*wordpress-crew.net.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*work-from-home-earn-money-online.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*xn--80adgcaax6acohn6r.xn--p1ai.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*xn--c1acygb.xn--p1ai.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*xn--q1a.xn--b1aube0e.xn--c1acygb.xn--p1ai.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*ykecwqlixx.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*youporn-forum.ga.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*youporn-forum.uni.me.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*youporn-ru.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*yourserverisdown.com.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*youtubedownload.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*yurgorod.ru.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*zastroyka.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*zazagames.org.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} ^http(s)?://(www.)?.*zverokruh-shop.cz.*$ [NC,OR]
</IfModule>

# Apache 2.2
<IfModule !mod_authz_core.c>
  <IfModule mod_authz_host.c>
    Order allow,deny
    Allow from all
    Deny from env=spambot
  </IfModule>
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
  <RequireAll>
    Require all granted
    Require not env spambot
  </RequireAll>
</IfModule>

#-------------------------------------------------------------------------------
# Gzip compression
#-------------------------------------------------------------------------------
<IfModule mod_deflate.c>

  # Force deflate for mangled headers developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping/
  <IfModule mod_setenvif.c>
    <IfModule mod_headers.c>
      SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)s*,?s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
      RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
    </IfModule>
  </IfModule>

  # HTML, TXT, CSS, JavaScript, JSON, XML, HTC:
  <IfModule filter_module>
    FilterDeclare   COMPRESS
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/html
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/css
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/plain
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/xml
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/x-component
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/javascript
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/json
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/xml
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/xhtml+xml
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/rss+xml
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/atom+xml
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/vnd.ms-fontobject
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $image/svg+xml
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $image/x-icon
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/x-font-ttf
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $font/opentype
    FilterChain     COMPRESS
    FilterProtocol  COMPRESS  DEFLATE change=yes;byteranges=no
  </IfModule>

  # Legacy versions of Apache
  <IfModule !mod_filter.c>
    AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
    AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml application/atom+xml
    AddOutputFilterByType DEFLATE image/x-icon image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype
  </IfModule>

</IfModule>

#-------------------------------------------------------------------------------
# Default expiration time
#-------------------------------------------------------------------------------
<IfModule mod_expires.c>

  # Enable expiration control
  ExpiresActive On

  # Default expiration: 1 hour after request
  ExpiresDefault "now plus 1 hour"

  # CSS and JS expiration: 1 week after request
  ExpiresByType text/css "now plus 1 week"
  ExpiresByType application/javascript "now plus 1 week"
  ExpiresByType application/x-javascript "now plus 1 week"

  # Image files expiration: 1 month after request
  ExpiresByType image/bmp "now plus 1 month"
  ExpiresByType image/gif "now plus 1 month"
  ExpiresByType image/jpeg "now plus 1 month"
  ExpiresByType image/jp2 "now plus 1 month"
  ExpiresByType image/pipeg "now plus 1 month"
  ExpiresByType image/png "now plus 1 month"
  ExpiresByType image/svg+xml "now plus 1 month"
  ExpiresByType image/tiff "now plus 1 month"
  ExpiresByType image/vnd.microsoft.icon "now plus 1 month"
  ExpiresByType image/x-icon "now plus 1 month"
  ExpiresByType image/ico "now plus 1 month"
  ExpiresByType image/icon "now plus 1 month"
  ExpiresByType text/ico "now plus 1 month"
  ExpiresByType application/ico "now plus 1 month"
  ExpiresByType image/vnd.wap.wbmp "now plus 1 month"
  ExpiresByType application/vnd.wap.wbxml "now plus 1 month"
  ExpiresByType application/smil "now plus 1 month"

  # Audio files expiration: 1 month after request
  ExpiresByType audio/basic "now plus 1 month"
  ExpiresByType audio/mid "now plus 1 month"
  ExpiresByType audio/midi "now plus 1 month"
  ExpiresByType audio/mpeg "now plus 1 month"
  ExpiresByType audio/x-aiff "now plus 1 month"
  ExpiresByType audio/x-mpegurl "now plus 1 month"
  ExpiresByType audio/x-pn-realaudio "now plus 1 month"
  ExpiresByType audio/x-wav "now plus 1 month"

  # Movie files expiration: 1 month after request
  ExpiresByType application/x-shockwave-flash "now plus 1 month"
  ExpiresByType x-world/x-vrml "now plus 1 month"
  ExpiresByType video/x-msvideo "now plus 1 month"
  ExpiresByType video/mpeg "now plus 1 month"
  ExpiresByType video/mp4 "now plus 1 month"
  ExpiresByType video/quicktime "now plus 1 month"
  ExpiresByType video/x-la-asf "now plus 1 month"
  ExpiresByType video/x-ms-asf "now plus 1 month"

</IfModule>

#-------------------------------------------------------------------------------
# Force latest IE version
#-------------------------------------------------------------------------------
<IfModule mod_headers.c>
  Header set X-UA-Compatible "IE=Edge,chrome=1"
  <FilesMatch ".(js|css|gif|png|jpe?g|pdf|xml|oga|ogg|m4a|ogv|mp4|m4v|webm|svg|svgz|eot|ttf|otf|woff|ico|webp|appcache|manifest|htc|crx|oex|xpi|safariextz|vcf)$" >
    Header unset X-UA-Compatible
  </FilesMatch>
</IfModule>

On Github License

Files

Download PDF of Htaccess file
DEFLATE, HTTP_HOST, HTTP_REFERER, THE_REQUEST

Comments

Apache