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.
source to share
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?
source to share