View Single Post
Old 02-08-2007, 11:28 AM  
2012
So Fucking What
 
2012's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 17,189
.htaccess file

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.

__________________
best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself

Last edited by 2012; 02-08-2007 at 11:29 AM.. Reason: what me worry
2012 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote