Forum Discussion
https to https redirect policy, different certificates
Hi,
I have a VIP:443 (www.old-domain.com) with its SSL certificate.
I have a new VIP:443 (www.new-domain.com) with its SSL certificate.
I new to put a policy to redirect from the old to the new:
actions {
1 {
http-reply
redirect
location tcl:https://www.new-domain.com[HTTP::uri]
For some reason it is not working.
Any suggestions? or better ideas than mine 🙂
Thank you and hope everyone is safe.
J
- youssef1
Cumulonimbus
Hello Julio,
Strange behaviour, simple question 🙂 are you sure that:
- you don't have a specific condition
- your policy is correctly attached to the old VS
- the draft is pushed to production
You can also remove tcl and just validate redirection:
actions { 1 { http-reply redirect location https://www.new-domain.com
meanwhile you can use an irule:
when HTTP_REQUEST { HTTP::redirect "https://www.new-domain.com[HTTP::uri]" }
keep me in touch.
regards
- Julio_Navarro
Cirrostratus
Thank you for the suggestion. I will try the irule first - as I know that does not fails :-)
Keep you posted.
Recent Discussions
Related Content
* 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