Different file locations for http v https on IIS?
Posted
by Jeremy Morgan
on Server Fault
See other posts from Server Fault
or by Jeremy Morgan
Published on 2010-03-15T19:36:01Z
Indexed on
2010/03/15
19:40 UTC
Read the original article
Hit count: 366
We have a server running IIS and have some folders running under https, but most are open. The problem I'm having is when someone is directed from a page in the secure section of the site, the relative link brings up https. For example:
link to
/pictures
goes to
http://www.mysite.com/pictures
But if someone is on a secured part of the site
https://www.mysite.com/shoppingcart
And then clicks back to /pictures, they get
https://www.mysite.com/pictures
so the pictures directory is shown under https. My problem is, they get a 404 not found message when this happens.
I could not find anything in the settings that would indicate that secured connections are pulling files from anywhere different than non-secured. If I type http or https on the main page of the site both come up fine. But if I try to add the https:// in a folder level, I get a 404.
Any ideas why this might be happening?
© Server Fault or respective owner