View Single Post
Old November 2nd, 2005, 10:47 PM   #5 (permalink)
Johnny Doomo
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
OK, here's an update:

I followed a tutorial that explained to add this to my htaccess
Quote:
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} .*jpg$|.*gif$|.*png$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !domain\.com [NC]
RewriteCond %{HTTP_REFERER} !www.domain\.com [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]

RewriteRule (.*) http://www.domain.com/images/banners/block.gif
I turned off using the watermark.php and the above text in the htaccess seems to work and show my block.gif message, but it doesn't allow the thumbnails to get through. Do I need to set something else?

Also I noticed that when I look at the htaccess file on the "Edit data .htaccess" and the "Edit fullsized .htaccess". It's the same text, but I only inserted text into the "Edit data .htaccess" link. Is it suppose to show up on the other? From what I can see it's blocking just like what I want, but I want it to left all thumbnails through to other sites.

Can you please help me finish setting this up?

Last edited by Johnny Doomo; November 2nd, 2005 at 11:20 PM.
Johnny Doomo is offline   Reply With Quote