Forum Moderators: phranque
The original server does support ssl, so many users will likely pull up a favorite/shortcut with an https: URL.
Question - how can I redirect their https: request to http:?
Redirect rule doesn't seem to work.
Is this because of IE not allowing a redirect from https to http?
So I think apache is not able to communicate the redirect back to the client browser...
Is this true?
Or is there a way to tell the client to abort the SSL handshake/auth routine and just accept a plain http redirect?
I think the problem is even with a VirtualHost declaration for port 443, apache can't really handle the https request - since no ssl engine exists on the server.
Correct. You will need to enable mod_ssl and configure an HTTPS <VirtualHost> for this to work. There *are* other potential solutions, but they all involve *something* listening on port 443 which understands HTTPS, so Apache will be the easiest way to handle this.
As to *why* you need to do this, the answer is that port 443 requests are, by definition, different than port 80 requests. Apache needs to be able to perform an SSL handshake with a request coming to port 443; if it can't, the the transaction won't even get as far as Apache receiving a request that it understands, so it won't be able to issue a redirect.