Kitz Forum

Internet => Web Hosting & Web Design => Topic started by: chenks on December 21, 2018, 09:45:24 AM

Title: HTTPS site with href links to HTTP site
Post by: chenks on December 21, 2018, 09:45:24 AM
come across a bit of a problem.
HTTPS site hosted on IIS7 (windows server 2008), all runs fine.
we have added a URL link on one of the pages to a non-HTTPS site, but for some reason when clicking on the link it just loads a white page.

disabling forced HTTPS on the site and reverting to HTTP then allows that URL link to work.

any ideas what the issue is?
HTTPS is being enforced by a URL rewrite, so that is someone does attempt to load the HTTP version of the site it auto redirects to the HTTPS version. i'm wondering if that URL rewrite is also affecting the href links too?
Title: Re: HTTPS site with href links to HTTP site
Post by: jelv on December 22, 2018, 10:51:38 AM
Do you see the same problem using different web browsers?
Title: Re: HTTPS site with href links to HTTP site
Post by: chenks on December 22, 2018, 12:03:00 PM
yes it's not browser specific.
Title: Re: HTTPS site with href links to HTTP site
Post by: d2d4j on December 22, 2018, 12:11:27 PM
Hi

You will most likely need ARR module (application routing) as the request will be port 80 but on port 443

Also, you would most likely need to carefully match your rule

This is based on assumption the http site is on same iis

This though, would give you mixed content and cause a browser warning

Many thanks

John
Title: Re: HTTPS site with href links to HTTP site
Post by: chenks on December 22, 2018, 12:23:50 PM
the http site is not on the same ISS