Quote:
Originally Posted by y2ksw
As it turns out, the question was different. You want to know if you can block hotlinking on your server. The answer is yes and it has nothing to do with this mod.
In order to block hotlinking you will have to add 3 (or more) lines in your .htaccess file, like:
Code:
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ - [F,NC]
|
Quote:
Originally Posted by Bob_R
OK, maybe I'll try it by adding the code to the .htaccess myself. My server people tried it thru cPanel and it did not work. Not saying that it's this mods fault just sharing.
I also heard from a trusted friend that "hotlink protection (via an htaccess file) doesn't protect images uploaded to vbulletin because they are being requested via php files, not via their native file name."
I'll keep you informed.
|
OK, did the code. It works if you post an image to another site with HTML img.
But, all I have to do is wrap the image in BB code ex. [img]www.thisisanimage[/img] and it still shows on the offending site.
Anyway around this?
Thanks!