Some images are not loaded under http, but executed under https

I ran into a problem where some images on the site are loaded under https but not loaded under http.

For example, if you go to https://www.mydomain.com/myimage.gif the image will look fine, but if you go to http://www.mydomain.com/myimage.gif the image is returned with a not found error. This only happens with certain images. Other images are loaded in any order. Even images in the same directory as the problems load fine.

I know that if SSL is not configured correctly, I have seen a similar problem, but it has always been with the entire site, not multiple images.

It's on the IIS6 server.

0


source to share


3 answers


The problem has been resolved. It turns out the https site was created using a physical copy of the actual site under the SSL port, which means there were 2 site versions specified on the same domain, one under port 80 and one under port 443.

The problem came from someone updating the port 443 site. The images missing from the port 80 site were not actually there, which caused the 404 error.



Thanks for the help. Wish it changed ... I guess this question is not a strict programming question?

+1


source


Moving a comment for a response in the hope that it will receive a response:



Is this behavior consistent across browsers and / or PC / Mac?

0


source


Try using Fiddler to see what happens to that particular image on page load.

0


source







All Articles