Forum Discussion
KT_271103
Nimbostratus
Sep 15, 2016irule question
Can anyone tell the meaning of below F5 irule command
HTTP::uri [string range $uri 4 end]
Kai_Wilke
MVP
Sep 15, 2016Hi Kiosk,
a syntax of...
HTTP::uri [string range $uri 4 end]
... means that you will set the currently requested URI to a new value with a string range from the
5 character to the end of the variable $uri. (Note: the 4 is the number of character to left out from the beginning)
Example: If the variable
$uri is /abc/xyz/file.ext then HTTP::uri will become /xyz/file.ext after this command. The leading /abc (aka. 4 chars) of $uri will be stripped...
Cheers, Kai
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