Forum Discussion
LocalTraffic::Policies
Would it stop complaining on 11.4.0 if you replaced the code with?
https://[getfield [HTTP::host] {:} 1][HTTP::uri]Also, you could implement a simpler code to handle your HTTPS redirects.
https://[HTTP::host][HTTP::uri]The only difference is that the first code would not include the port specification with the redirect. For example, "http://www.mysite.com:8080/page1" would be redirected to "https://www.mysite.com/page1" when using the first code sample, but would be redirected to "https://www.mysite.com:8080/page1" when using the second sample. You have to use the 1st code if a non-standard port specification is made inside the HTTP Host header. In all other cases, the second code will do.
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