Robert_Pagano_7
Aug 13, 2010Nimbostratus
immediate redirect when client attempts to access an HTTPS URL that will be going away
This is probably a silly question but I am going to ask it anyway ...
We have a HTTPS site that we will be retiring in the near future.
We want to redirect clients who attempt to browse to that site to be redirected to the new HTTPS site.
I have done something similar to this in the past; but it has been with HTTP requests using the "when HTTP_REQUEST ..." and "HTTP::redirect ..." syntax.
The wrinkle, this time, is that we do not want to maintain (i.e. pay for) the SSL certificate for the old site.
So, is it possible to send a redirect to a client as soon as it attempts to access an HTTPS URL? Something along the lines of a "when HTTPS_REQUEST ..."?
If not, is there any other way to implement such a redirect?
Any guidance at all will be very much appreciated!