Forum Discussion
Sagar_378312
Nimbostratus
Dec 03, 2018https to https redirection
Hello
I need your help in redirecting https to https. I have VIP created for port 80 and 443. url will re https://example.com and http://example.com. My client wants http and https redirected to https://example.com/abcd. How can i achieve it.
- Dario_Garrido
Noctilucent
There is an iRule already created to do that called "_sys_https_redirect"
when HTTP_REQUEST { HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri] }
Apply that iRule in your HTTP VS.
KR, Dario.
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