I'm trying to redirect all requests on a server to a single page that informs the users that the website has been retired. I put this code in the httpd.conf file:
This works as expected for all standard request on port 80. It does not, however, work for any SSL (HTTPS, port 443) requests. How can I redirect all SSL requests as well to the single page?
Thanks
Code:
RewriteEngine on
RewriteRule /* [URL unfurl="true"]https://www.foo.org/Server_Retire_Prompt.html[/URL] [R]
This works as expected for all standard request on port 80. It does not, however, work for any SSL (HTTPS, port 443) requests. How can I redirect all SSL requests as well to the single page?
Thanks