Forum Discussion
acgutierrez_123
Nimbostratus
Sep 15, 2013Need help writing an iRule to redirect from HTTP to HTTPS but not on port 443
I need to redirect from HTTP to HTTPS if the uri contains "inscripcion". The HTTPS service for that application is published in the client's server with port 8691, not 443. I've tried the http to htt...
Sep 15, 2013
You would want something like this on the port 80 vip,or whichever one is the one that will issue the redirect. Should be as simple as copying the system irule and making the edit.
HTTP::redirect https://[getfield [HTTP::host] ":" 1]:8691[HTTP::uri]
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