Forum Discussion
Randy_Wooten_11
Nimbostratus
Oct 25, 2006Redirect HTTPS://ABC.com to HTTPS://XYZ.com
Hello Everyone,
I have been trying to create an iRule that will allow me to redirect a HTTPS request to another HTTPS request. Any help would be greatly appreciated.
History: I ha...
dennypayne
Employee
Oct 25, 2006You can only do this if LTM is terminating SSL. Otherwise you have no way to inspect the headers to see what the host is.
when HTTP_REQUEST {
if { [HTTP::host] equals "sitename.XYZ.com" } {
HTTP::redirect https://sitename.ABC.com
}
}
should work in that instance.
Denny
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