How do you redirect https to http

Posted by mauriciopastrana on Stack Overflow See other posts from Stack Overflow or by mauriciopastrana
Published on 2008-08-12T00:36:32Z Indexed on 2010/03/12 5:47 UTC
Read the original article Hit count: 458

Filed under:
|
|
|

that is, the opposite of what (seemingly) everyone teaches.

I have a server on https for which I paid an SSL cert for and a mirror for which I haven't and keep around for just for emergencies so it doesn't merit getting a cert for.

On my client's desktops I have SOME shortcuts which point to http://production_server and https://productionserver (both work), however; I know that if my prod. server goes down, then DNS forwarding kicks in and those clients which have https on their shortcut will be staring at https://mirrorserver (Which doesnt work) and a big fat IE7 red screen of uneasyness for my company.

Unfortunately, I can't just switch this around at the client level. These users are very computer illiterate: and are very likely to freak out from seeing https "insecurity" errors (specially the way FFX3 and IE7 handle it nowadays: FULL STOP, kinda thankfully, but not helping me here LOL).

It's very easy to find apache solutions for http->https redirection, but for the life of me I can't do the opposite.

Ideas?

Cheers,

/mp

© Stack Overflow or respective owner

Related posts about apache

Related posts about ssl