dose Posted October 4, 2010 Share Posted October 4, 2010 Is there a way that i can stop hotlinking from a specific subdomain on my site?? I have mysite.com then serving images from sub.mysite.com, nobody but my domain should be able to use these images in the sub domain.. Link to comment https://forums.phpfreaks.com/topic/215105-hotlinking/ Share on other sites More sharing options...
trq Posted October 4, 2010 Share Posted October 4, 2010 Something like.... RewriteEngine on RewriteCond %{HTTP_REFERER} !domain\.com [NC] RewriteRule \.(jpe?g|gif|png)$ - [F,NC] Link to comment https://forums.phpfreaks.com/topic/215105-hotlinking/#findComment-1118812 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.