Forum Discussion
Dineshsankar_31
Altostratus
Aug 09, 2017https to https FQDN redirection
What is the irule for redirecting to https://abc.global.com, i tried below i rule but it doesn't help my requirement.
1.
when HTTP_REQUEST {
if { [HTTP::host] contains "abc" } {
HTT...
Yann_Desmarest_
Nacreous
Aug 09, 2017Hi,
Based on your sentence, I would say that you should put in place the below irule
when HTTP_REQUEST {
if { [HTTP::host] eq "abc" } {
HTTP::redirect "https://abc.global.com[HTTP::uri]"
}
}
Dineshsankar_31
Altostratus
Aug 09, 2017i tried this also But the VIP having certificate. So when i do it will throw SSL error then after it will redirect to Fqdn. I want before ssl error it should redirect.
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