Forum Discussion
iRule HTTPS(443) to HTTPS(8701)
I am having difficulty finding a iRule or creating that would auto route HTTPS(443) to HTTPS(8701).
I have set up HTTP(80) to HTTPS(8701) that was pretty straight forward using this
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1]:8701[HTTP::uri]
}
Any help will be greatly appreciated.
I think it should be:
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]:8701
}
if there are issues also test
when HTTP_REQUEST {
HTTP::redirect "https://[getfield [HTTP::host] ":" 1][HTTP::uri]:8701"
}
Also see:
https://clouddocs.f5.com/api/irules/HTTP__redirect.html
https://support.f5.com/csp/article/K15117465
You can also use Local Traffic policy https://support.f5.com/csp/article/K26312346 and I think this way it will be better.
- PrafulNimbostratus
Hey Thanks for your reply. We were able to resolve the issue. One of our team members was able to get that working. 😀
Recent Discussions
Related Content
* 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