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]
|
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.