View Single Post
Old 06-18-2005, 01:08 AM  
kernelpanic
Too lazy to set a custom title
 
Join Date: Jan 2005
Posts: 2,961
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]
kernelpanic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote