Forum Discussion
Robert_Pagano_7
Nimbostratus
Aug 13, 2010immediate 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...
George_Watkins_
Aug 16, 2010Historic F5 Account
Hi Robert,
There is no way around a certificate error when it has expired. You also can't redirect from one HTTPS virtual to another without getting a certificate error. When I have ran into this in the past, I usually respond with a small page that explains the circumstances and provides a link to the new site.
rule new_site_redirect {
when HTTP_REQUEST {
HTTP::respond 200 content "example.com has moved \
Example.com has moved to its new home at " }
}
I don't know if this is what you were looking for, but it has been a nice work around for me in the past.
-George
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
