How can i prevent people stealing my pic

bruceho

New member
Joined
May 15, 2005
Messages
2
i just use the following for my apache,but it doesn;t work,anything i need to config as well??

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?domain.com.*$ [NC]
RewriteRule .(gif|jpg)$ - [F]
 
Do you mean keeping people from downloading the images (right-click save as) or hotlink protection, which is the code you posted?

If the later, check the main httpd.conf file for apache and make sure there is nothing overiding the .htaccess file you just created.
http://help.directadmin.com/item.php?id=33
 
Back
Top