Quote:
Originally Posted by darnit
Actually its because of 2257. I have ton of fake tgps that use remote thumbs. They have all been coverted to text links. I want to continue to use their listings however the program errors out if it cant upload thumbs to my server. So by disabling thumbs from being "available" to the web unless loaded in a page there is a reduced risk. Paranoid = yes.
|
Ohh, so it is about remote linking then.
You'll want to use mod_rewrite
http://httpd.apache.org/docs/mod/mod_rewrite.html
it will look something like this:
Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_REFERER} !^http://www.pornosite.com [NC,OR]
RewriteCond %{HTTP_REFERER} !^http://pornosite.com [NC]
RewriteRule [^/]+.(jpg|jpeg|gif|png)$ - [NC,F,L]