Forum Discussion
Cae_140395
Nimbostratus
Feb 18, 2014What's the meaning of " : 1" in irule-redirect HTTP to HTTPs
Hello all!
I have a doubt about a parameter on the irule below:
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
Why the two points following...
Mui_64918
Cirrus
Feb 18, 2014Which version are you using? You dont have to use getfield. The following will work when HTTP_REQUEST { HTTP::redirect "https://[HTTP::host][HTTP::uri]" } in the above example the ":" is the delimiter in the getfield and you are requesting first field in it. you dont have to do that as HTTP::host returns the hostname.
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