Forum Discussion
isavic
Nov 28, 2019Nimbostratus
HTTPS to HTTPS redirect in F5
Hi, Please help me to create an irule or policy to redirect https://loadandgo.test.ca to https://www.test.ca/arrow/Redirect?id=45156_Rexall_LoadandGo_E. I'm not sure what service port should I use s...
isavic
Nimbostratus
I did with the right clientSSL and Irule applied to it. The Irule i used worked for me:
1. when HTTP_REQUEST {
2. if { ([string tolower [HTTP::host]] equals " page1.com") && ([TCP::local_port] == 443)} {
3. HTTP::redirect " http://page2.com"
4. }
}
Thanks again for your help. I masked the domain name BTW.
jaikumar_f5
Nov 30, 2019MVP
Good to hear that the issue is solved. You can mark your own as solved then.
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