Forum Discussion
HTTPS redirect from custom port to port 443
Thanks Kevin, I implemented the iRule but doesnt seem to be working. I get error timed out. So here is the implementation. I have two VIPs. One with the F5 listening on port 8443 but without a clientssl. I have another VIP with the F5 listening on port 443 with a clientssl profile. The URI is the following - https://jiratest.chicago.xxx.com:8443/login which of course will get redirected to https://jiratest.chicago.xxx.com/login
So I took your script and did the following: when HTTP_REQUEST { HTTP::respond 302 Location "https://[HTTP::jiratest.chicago.xxx.com]" }
The F5 throws out the following error:01070151:3: Rule [/Common/Custom_Redirect] error: /Common/Custom_Redirect:2: error: [undefined procedure: HTTP::jiratest.chicago.xxx.com][HTTP::jiratest.chicago.xxx.com]
So i then remove the URI and put in - when HTTP_REQUEST { HTTP::respond 302 Location "https://[HTTP::host]" }
F5 takes the script and I apply it but then that when i get the timed out message when I try to visit the site.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
