My website is supposed to be running over ssl. However, this has recently broken for some of the pages - if the user types in https://xx.com, they get forwarded to http://xx.com. I think this must be a server issue rather than an issue with the application code, as by the time the various pageLoad events fire the site is already working on http.
The weird thing is that this happens on only some of the pages of the site. However, after carefully comparing the code for the pages that work, and the pages that don't, I cant see any difference between them that might cause this.
Can anyone offer suggestions as to what might be causing this? I'm not particularly familiar with IIS, but after carefully looking over the (fairly limited) array of configuration options, nothing that might be forcing a redirect stands out. I tried turning on 'Require Secure channel', but the redirects still happen (and the server coughs up an error page.)