![]() |
anti image hotlinking in .htaccess
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/ |
use another .htaccess file in that folder
|
Quote:
mydomain.com/hotimages/ RewriteCond %{HTTP_REFERER} !^$ lets someone key in the URL |
I remember now.
there is 1 work I should in the .htaccess in the folder I want to allow hotlinking in , what was it? |
| All times are GMT -7. The time now is 03:10 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123