Forum Discussion
Dali_Chauhan_33
Nimbostratus
Jun 05, 2018https to https redirection along with http to https redirection iRule
we have iRule in which http://abc gets redirected to https://abc.xyz.opj.com
but we would also like to get https://abc redirected to https://abc.xyz.opj.com
Please suggest how to get the ...
youssef1
Cumulonimbus
Jun 06, 2018Hi,
So you need 2 irule, one by VS like that:
abc_443 (hostname redirection) -->
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] equals "abc"}{
HTTP::redirect "https://abc.xyz.opj.com[HTTP::uri]"
}
}
}
abc_80 --> irule_https_redirection
Keep me in touch if it's clear.
Regards
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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