Studio Reviews    Studio Forums    Main Index  Hop To Forum Categories  Swanky Studio Lounge: Off Topic Discussions    For those of you who can't stand bandwidth thieves
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Godan
Picture of nbarts
Posted
I remember Dot had a topic a while back about some guys stealing his bandwidth linking to the pics on his server. I've been running into the same problem lately & found a neat solution

Just rename the sites you want to allow to your pics & add this to your .htaccess file.

#Begin Image Hotlink Code
RewriteCond %{HTTP_REFERER} !^https?://(.*.)?dizero.com [NC]
RewriteCond %{HTTP_REFERER} !^https?://(.*.)?studioforums.com [NC]
RewriteCond %{HTTP_REFERER} !^https?://(.*.)?rig-talk.com [NC]
RewriteCond %{HTTP_REFERER} !^https?://(.*.)?thegearpage.net [NC]
RewriteRule .(jpg|jpeg|png|gif)$ - [NC,F,L]
#End Image Hotlink Code


Best,
K.


----------------------------------
DiZero.com
 
Posts: 2139 | Location: Chicago, IL | Registered:: 03-30-06Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

Studio Reviews    Studio Forums    Main Index  Hop To Forum Categories  Swanky Studio Lounge: Off Topic Discussions    For those of you who can't stand bandwidth thieves

All rights reserved © 2002-2008 Studio Forums