The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Protect Pictures in vBGallery
hello, my friend own a vbgallery v2 he asked me a question, about um somewhere in .htaccess file, like you put it inside /gallery folder and it protects your images from being hot linked to other sites, like only the gallery module can access it, if you click Photos, Category, Picture, then you can see the images, but if you type /gallery/images/2/coolrock.jpg It will say like Your are Forbidden to access this file on this server. someone please help me, Thank you!!
|
#3
|
||||
|
||||
Quote:
|
#4
|
|||
|
|||
This is what I see in /gallery/files .htaccess
but I tried online Hotlinking tool and I check the image url and it still displays the image RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?website.net(/)?.*$ [NC] RewriteRule .*\.(avi|AVI|bmp|BMP|gif|GIF|jpeg|JPEG|jpg|JPG|mid i|MIDI|mp3|MP3|mpeg|MPEG|mpg|M PG|png|PNG|ram|RAM|wav|WAV|wma|WMA|wmv|WMV)$ [F,NC] Please help me. |
#5
|
|||
|
|||
restart your apache or check setting your httpd.conf if you have access
if not contact your helpdesk |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|