Quote:
|
Originally Posted by Zester
I usally use the following to prevent image hotlinking from my entire site:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ - [F,NC]
how to modify the above if I want to allow image hotlinking for a certain folder, lets say:
mydomain.com/hotimages/
|
Only put it where you want it:
mydomain.com/hotimages/
RewriteCond %{HTTP_REFERER} !^$
lets someone key in the URL