HTTPS requests on IIS7

Status
Not open for further replies.

ISP_236

Wise, Aged Ars Veteran
162
I orginally posted this in the Windows Technical Mogo forum did not get any responses so I am going to try my luck here.

I am in the process of migrating our website from a windows 2003 server to Windows server 2008 running IIS 7 (I did not setup the original web server this site was running on).

There is a secure (https://) web form on the site that is used by our customers I am having trouble with the menu links on that page that reference back to the rest of the site.

The scenario is this:

I go to the secure form: example https://securewebform.php

However when I click on a link to another page from that secure form page it puts the traffic to that page as https traffic instead of http. It will do this even when I hard code the link such as http://www.mydomain.com for a link labeled as home. Subsequent navigation to other pages on the website from that point on fall under https:// traffic.

I did check the SSL Settings for the web site and "Require SSL" is not checked. Also I do not think redirection to HTTPS is any feature that the original developers designed/built into the site as this problem does not happen on the original web server.

My only other thought might be the certificate import. I do get an error going to the site for the certificate for "mismatched address" which I can understand because the cert is issued to http://www.mydomain.com and currently I am only accessing this site internally by the assigned IP address to the new website.

Just looking to see if any other web developer has run into this issue and what steps they took to correct it.

Thanks.
 

ISP_236

Wise, Aged Ars Veteran
162
Please disregard/delete Post. I figured out what was going on.

Not sure if this is the correct solution or not. Basically it was just how the links were being referenced from the page on my test server. I misspoke about how I referenced back to the "Home" link, apparently I must not have saved my changes or something when I thought I did because the link not the way I wanted it.

I wanted it as the link hard coded as http://www.mydomain.com/index.php (which is the way it is setup on the production server). I needed to make the links relative to test server I was on which I am referencing by its internal IP. So the link home page on the test site is now http://xxx.xxx.xxx.xxx/index.php which pulls it out of the https:// traffic. Will just need to set a reminder to myself when we make this production server live to change those links back to the domain name.

Edit: to add my fix to the problem.
 
Status
Not open for further replies.