Skip to content
Advertisement

Images not showing up with https

Suddenly, my images are not showing up on my site when accessing https pages. No change in my code. My host did have to recompile their ftp service with SSL support after my request (so I could ftpes my site). Can’t thing of anything else that would affect my SSL cert. Same thing happens on FF and IE and on different computers.

Advertisement

Answer

If I go to your website ( https://www.scfootball.org/ ), I don’t see the images, as you said : I get a 403 (Forbidden) error for each one of those — I can see this using the “Net” tab of the Firefox extension Firebug, for instance.

If I try to see an image directly, without going trough the site (for instance : https://www.scfootball.org/widgets/GulloParkHeader.png ), then, I can see the image.
If you try, make sure you copy-paste the URL to a new tab/window, and not just click on it

Which means there is some kind of trouble between the website and the access to the images ; not on the images themselves.


If I disable the referer in firefox (the web developper toolbar extension allows that easily) and refresh your website’s webpage, the images appear.

If I re-enable the referer, and refresh again, then the images don’t appear anymore.

Which means there is something, related to the referer, that prevents the images from being sent, and returns a 403 error instead.


Just a wild guess : maybe there’s a .htaccess in your widgets directory (or somewhere else) that prevents images from being served, if the referer doesn’t correspond to a specific domain ?

Considering the images are displayed on the site when I access it without HTTPS (i.e. with an URL such as http://www.scfootball.org/index2.php ), maybe there is a “protection” in place so your images are not displayed if the Referer is not that non-https website… And that “protection” has not been updated when you switched to HTTPS ?

(I’ve seen that kind of “protection” used to prevent hot-linking of images, for instance)

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement