Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Closed Thread
 
Thread Tools
  #1  
Old 04-27-2004, 11:36 AM
whcphoto whcphoto is offline
Hatchling Croc
 
Join Date: Apr 2004
Posts: 6
Default

No one has made any attept to solve or answer this problem.

When someone does make an attept to answer it, I will let it be closed.

However, support means answering the question, not closing the question with no resolution.

Here is the problem:

I am having a problem with hotlink protection.

When I activate it, none of the images appear on my page.

My directory structure is set up like this:

/example/example.html
/example/images/example.jpg

Would I have to have the html and jpgs in the same directory, or is there something I am not understanding about hotlink protection?

Thanks
  #2  
Old 04-27-2004, 01:16 PM
GatorJustin's Avatar
GatorJustin GatorJustin is offline
Banned User
 
Join Date: Apr 2004
Location: Atlanta, GA
Posts: 771
Default

Your thread was closed because it was believed to have been cross-posted in another forum. In that other forum, you and Gator_Support alluded to the fact that your problem with broken images had been remedied after a brief phone support call, so I assumed that your support thread was no longer necessary.

If my assumptions were incorrect, all you had to do was simply ask me to re-open your thread and I would have been happy to do so. I was going to do just that, but now that you have started this 3rd thread regarding hotlink protection, I will leave the other one closed.

Ok, so you are seeing broken images on every page of your site? Is that correct? If you disable hotlink protection, are the images visible again?

Please tell me what you have entered in the Extensions to Allow field, URL to Redirect To field, and whether or not you have ticked the Allow Direct Requests box.

Thank you.
  #3  
Old 04-27-2004, 11:35 PM
jas01724 jas01724 is offline
Hatchling Croc
 
Join Date: Apr 2003
Posts: 6
Default

I hope I don't step on any toes by offering one of the many possible reasons for this happening.

I use hotlink protection myself, and for most people it will work fine provided that "Allow Direct Requests" IS ticked. Without that you really have to call the images with a script so that the images are never directly requested.

However some visitors can't see any of the images, and generally it's because they're behind a strong firewall or some other form of protection, or that they're using an ISP that is behind an unusually strong firewall. The mod_rewrite that directs hotlinks is generated by the referring URI, and some firewalls will block the browser/server from reading the referring URI for security reasons. With no referring URI to generate the redirect, the mod_rewrite will not be able to detect that your URI is valid, and with no valid URI being present, it will assume that the image is being hotlinked even though in some cases it isn't.

If it's particularly important that your images are viewable by everyone, i'm afraid hotlink protection has some quite large drawbacks.
  #4  
Old 04-29-2004, 08:48 PM
whcphoto whcphoto is offline
Hatchling Croc
 
Join Date: Apr 2004
Posts: 6
Default

Thanks to both of you for the helpful info.
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Closed] Please help with a weird problem. oats Shared Hosting Support 2 06-30-2004 02:21 AM
[Closed] Problem With Shared Server.... kc2equ Shared Hosting Support 2 06-23-2004 12:11 AM
[Closed] PHP Problem nate_s_ Shared Hosting Support 3 06-07-2004 03:48 PM
[Closed] HotLink Protection Problem whcphoto Shared Hosting Support 1 04-27-2004 07:17 AM
hotlink protection question mpenn Shared Hosting Support 1 04-06-2004 06:19 PM

All times are GMT -5. The time now is 10:51 AM.