View Single Post
Old 02-08-2007, 03:20 PM  
Snake Doctor
I'm Lenny2 Bitch
 
Snake Doctor's Avatar
 
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
Quote:
Originally Posted by fartfly View Post
Have you given something like this a try?

You add a rewrite rule to your htaccess file. Seems to work pretty good so far or at least a good temp fix until you get something a little more advanced.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !your domain to allow \.com [NC]
RewriteCond %{HTTP_REFERER} !your domain to allow \.com [NC]
RewriteCond %{HTTP_REFERER} !your domain to allow \.com [NC]
RewriteCond %{HTTP_REFERER} !your domain to allow \.com [NC]


RewriteRule \.(gif|jpe?g|png|wmv|flv|swf|mpg)$ h t t p y o u r d o m a i n.com/images/nohotlink.jpe [NC,L]


the last line is an image substitute you can use so when it is hot linked that image shows up.


htaccess doesn't work for movies because movie players don't pass referrer information.

I'll have to do a search or something for Smokey's solution
__________________
sig too big
Snake Doctor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote