orange08 Posted June 18, 2009 Share Posted June 18, 2009 to prevent bandwidth steal, i have coded RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite.com/.*$ [NC] RewriteRule .(gif|jpg)$ - [F] in my .htaccess. then, i try to link mysite's image from email, but it can be linked successfully... so that's meant my above code take no effect, right? so, how can i debug it? thanks! Quote Link to comment Share on other sites More sharing options...
trq Posted June 18, 2009 Share Posted June 18, 2009 Accessing your images is exactly the same as using a browser to link to your images. The code you have would prevent people making links like <img src="http://yoursite.com/image.jpg"/> on there sites. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.