Forum Discussion
Javi_Lora
Feb 27, 2024Altostratus
empty character in policy conditions
Hello good, I have changed iRule to policies, I have an HTTP-->HTTPS redirection rule that is formed as follows. when HTTP_REQUEST { if { ( [HTTP::uri] equals "" ) or ( [HTTP::uri] equal...
zamroni777
Feb 27, 2024Nacreous
the tcl syntax uses "eq", not "equals"
https://wiki.tcl-lang.org/page/eq
if the https port is not 443, you need to put it before URI
HTTP::redirect "https://[getfield [HTTP::host] : 1]:8443[HTTP::uri]"
https://clouddocs.f5.com/api/irules/HTTP__host.html
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