Forum Discussion
mlmarcelo1_3620
May 21, 2018Altostratus
iRule HTTPS to HTTPS redirection
Dear All,
I have a virtual server publishing a https://www.xpto.com website.
I need to redirect via irule the requests from the old site https://www.xpto.com to the new https://www.abc.com....
- May 23, 2018
I gave up trying the redirect on the same VS.
I created a new text with the profile of the old certificate doing the redirection.
mlmarcelo1_3620
May 21, 2018Altostratus
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] ends_with ".abc.com" } {
HTTP::redirect "https://www.xpto.com[HTTP::uri]"
}
}
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