Options +FollowSymlinks RewriteEngine on # remove www RewriteCond %{HTTP_HOST} ^www\.jessey\.net$ [NC] RewriteRule ^(.*)$ http://jessey.net/$1 [R=301,L] # deny hotlinking RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://jessey.net/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://keystonewebsites.com/.*$ [NC] RewriteRule .*\.(png|PNG|jpg|JPG)$ - [F] # rewrite crufties RewriteRule ^archive/([0-9]+)/([0-9]+)/([0-9]+)/([a-z0-9-]+)/ /blog/archive/entries/index.php?year=$1&month=$2&day=$3&slug=$4 [QSA] RewriteRule ^archive/entries/ /blog/archive/entries/index.php [QSA] RewriteRule ^archive/categories/([a-z0-9-]+)/ /blog/archive/categories/index.php?slug=$1 [QSA] RewriteRule ^archive/categories/ /blog/archive/categories/index.php [QSA] RewriteRule ^archive/ /blog/archive/index.php [QSA] # bounce spoofed referers RewriteCond %{HTTP_HOST} !^jessey.net$ [NC] RewriteCond %{HTTP_REFERER} ^(.*)$ [NC] RewriteRule ^(.*)$ %1 [R=301,L] # ban and bounce referers RewriteCond %{HTTP_REFERER} ^http://[a-z.-]+.info/.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://[a-z.-]+.biz/.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)adult(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)amateurs(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)anal(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)betting(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)boobs(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)busty(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)casino(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)cialis(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)dating(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)escort(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)fioricet(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)funpic(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)gambling(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)gay(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)hatena(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)hotel(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)incest(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)lesbian(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)loan(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)locators(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)mature(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)methvin(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)mortgage(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)nude(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)poker(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)porn(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)pus*y(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)rental(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)ringtone(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)sex(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)teen(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)tits(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)vegas(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)viagra(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)4u(-|.).*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*accepted.cc$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*episodesusdbz/.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*erocity.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?300play.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?3333.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?42tower.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?4u.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?accessthepeace.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?affiliplanet.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?alleghanyeda.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?amateurvoetbal.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?anightofcheese.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?apart-?design.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?artsmallforsenate.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?auktion.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?autogewinne24.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?autospiele24.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?axionfootwear.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?babay.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?booksandpages.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?browserwindowcleaner.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?business2fun.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?candiria.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?carisoprodol.netsil.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?codychesnutt.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?conecrusher.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?delorentos.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?edthompson.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?escorts2.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?euromillionen.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?eurotexans.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?eurowins.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?flowershopentertainment.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?freshness.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?fruitologist.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?geldspiele24.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?goovle.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?happychappywacky.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?hawk.tcm-services.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?heil-fasten.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?host-tracker.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?hydrocodone-buy.jamminweb.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?immobiliengewinne24.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?investment4cashiers.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?jamesthesailorbasher.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?jennifer-hawkins-video-pics.blogspot.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?justanotherdomainname.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?keywordmaster.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?locators.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?longermalternatives.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?masteroftheblasterhill.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?mature--young.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?metapannas.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?midnightlaundries.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?mikeapartment.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?mlm-experte.x-cart.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?mouthfreshners.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?mondialcoral.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?music-art-friends.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?mykeyboardisbroken.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?naughtykittys.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?newreleaseonline.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?nextfrontiersonline.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?nustramosse.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?old-young.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?one2onemag.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?ourownweddingsong.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?paradiserecreations.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?pay4link.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?persist-pharma.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?protzonbeer.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?realestateonthehill.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?reisegewinne24.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?referrer-script.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?rootfood.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?sbj-broadcasting.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?shemale.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?single66.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?slamhost.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?sojo.t35.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?sophiesplace.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?southernxstables.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?spielepsychatrie.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?supadupazone.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?superface.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?topgewinn24.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?topspiele24.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?transexual.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?trueuninstall.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?uchase.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?usa-wins.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?vendini.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?vietnamdatingservices.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?vinegarlemonshots.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?webmasterplan.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?whincer.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?whitpagestrippers.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?worldfilebooklets.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?wseeker.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?xmaster.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?yahh+oo.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?yuppieslovestocks.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://www14.blogspot.com.*$ RewriteRule ^(.*)$ %1 [R=301,L] # ban IPs and TLDs deny from 64.255.163.85 # uchase deny from 221.186.146.26 # hatena deny from 168.75.177.101 # devclan.v4x deny from 61.190.134.204 # abuse deny from 204.232.59.42 # abuse deny from 69.152.37.233 # entertainment news deny from 64.239.138.76 # seguru deny from 61.190.134.149 # clean hard drive deny from 203.101.31.126 # advertising deny from 202.149.50.6 # comment spam deny from 80.178.86.238 # russian comment spam deny from 65.184.252.136 # pharmaceutical comment spam # redirect library Redirect permanent /library/ http://jessey.net/ Redirect permanent /library http://jessey.net/ # custom error page ErrorDocument 401 /errors/401/ ErrorDocument 403 /errors/403/ ErrorDocument 404 /errors/404/