Link Protection not working
Posted by: cranrazz
Posted on: 2006-03-13 16:19:00
I want to prevent hotlinking to my images in my gallery.
I enabled Link Protection from Dreamhost's .htaccess panel but people can still hotlink to the images on my server.
So I made my own .htaccess file like below and uploaded to my gallery directory. Still, it's not working. Could anyone help please?
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?mydomain.com(/)?.*$ [NC]
RewriteRule .*.(gif|jpg|jpeg|bmp|png)$ - [F,NC]