!!blue Posted July 22, 2003 Posted July 22, 2003 Hi all, I found the answer to a bug I've been having on my site; sometimes the gif images do not appear on my site and it's because IE thinks the Hotlink feature is a cookie and blocks the images. See the link for the dialog box I get in IE, and because of this the images don't load. Mad!!! http://zoblue.com/image.htm Please let me know what I can do to avoid this error, so people can view the images!!! It's only been happening on the intro page http://zoblue.com, as some of you may remember I've posted this question before. thanks, !!blue Quote
Twisted Posted July 22, 2003 Posted July 22, 2003 I can't see it either but I have been having problems seeing certain images recently expecially images sized at 88x31. I am trying to fix my issue also Quote
Head Guru Posted July 22, 2003 Posted July 22, 2003 There are several known bugs in the cPanel hotlinking protection. Here are some that I am aware of. when you go to your url, make sure you have / at the end domain.com is not the same as domain.com/ when it comes to hotlink protection ------------------------------------------------- Add the following to an .htaccess file and place it in Document Root for the account in question. RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://your_domain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.your_domain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.trusted.com/.*$ [NC] RewriteRule .*\.(gif|jpg|)$ - [F,L] The 'RewriteRule' is where you include the same file extension of the files to be protected. ---------------------------------------------------------------------------------- Quote
TCH-JimE Posted July 22, 2003 Posted July 22, 2003 Hi, Check here for hopefully a explination of how to get around it: http://www.totalchoicehosting.com/forums/i...8&hl=hotlinking Jim Quote
!!blue Posted July 22, 2003 Author Posted July 22, 2003 Thanks! I will try the above code and when I'll view my site from various IE browsers at school again on Wednesday. Thanks again , !!blue Quote
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.