Sorry, my mistake: it is post #5. I'm sleepy at the moment, hope i understood you correct:
Code:
RewriteEngine on |
And how do you deal with attachment.php?
This is what they are stealing from me. htaccess does not protect that |
Quote:
|
Guest are allowed to see attachments. But I found a solution that works perfect for me. Attachment.php displays on my site only.
|
How would i make it so that a certain file is allowed to be hotlinked, like affiliates for example how would i allow people to hotlink my link button? and then the rest of the .gifs wont be allowed to be hotlinked
|
is there something we can use for windows server i know this method don't work that way:confused:
|
I added this code to my existing htaccess code obviously replacing the urls with my own and now none of my images are appearing on the forum. No photopost, forum icons ect.. Do you know what might be causing this? Thanks
RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://www.msxlabs.org/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.msxlabs.org$ [NC] RewriteRule .*\.(mp3|mpeg|mpg|ram|rm|wma|wav|asx|wmv|avi|mov|z ip|rar|exe)$ http://www.msxlabs.org/forum/ [R,NC] RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.msxlabs.org/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.msxlabs.org$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp|swf)$ http://www.msxlabs.org/forum/ [R,NC] |
Use this one below:
Code:
RewriteEngine on (a page, a picture with .jpe extension) |
Great tutorial. However my redirect isn't working. Hotlinking is being blocked but it doesn't redirect to our home page.
I use: RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.animeonline.net/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.animeonline.net$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp|swf)$ http://www.animeonline.net/ [R,NC] You can see a test page at www.myotherdomain.com/test.htm. There is a broken image that should redirect to AnimeOnline's home page. Correct? Thank you. |
Hi,
Image files are displayed as they are broken with hotlink protection enabled, they can't redirect to another page. I use one line for any file type to use less server resource: jpg|jpeg|gif|png|bmp|swf|mp3|mpeg|mpg|ram|rm|wma|w av|asx|wmv|avi|mov|zip|rar|exe If they link a zip file pointing to your domain, it redirects to your homepage if somebody clicks on it. This method doesn't work for image files. |
All times are GMT. The time now is 02:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|