server-status-project/server-status

HTTPS redirect? Tried removing not working.

Closed this issue · 5 comments

My site doesn't have HTTPS it keeps pulling HTTPS for the site when I got to the folder I have this installed in. I tried editing/removing .htacess and web.config and it isnt helping/working. Still getting that redirect.

Example:
http://example.com/status becomes https://example.com/status

Pryx commented

If you delete .htaccess and web.config then you shouldn't be redirected at all - there is absolutely no other code that could be doing that. If you have your status page in a subdir, please check root dir for htaccess too - if you do redirecting to HTTPS on example.com then example.com/status will be probably affected to.

Got it. I had already done what you suggested, The server went through a restart and it fixed it. It was just that subdir that was the issue.

Pryx commented

Oh, that is certainly possible. What kind of server was that? A Linux or Windows one?

I have the same issue, but my status page is situated on http://status.mysite.com, and when i redirected to https, im getting page like on the screenshot below:
image

Oh, that is certainly possible. What kind of server was that? A Linux or Windows one?

Linux I believe.