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]
2 Replies
Hi 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
character to the5
of the variableend
. (Note: the$uri
is the number of character to left out from the beginning)4Example: If the variable
is$uri
then/abc/xyz/file.ext
will becomeHTTP::uri
after this command. The leading/xyz/file.ext
(aka./abc
chars) of4
will be stripped...$uriCheers, Kai
- Samir_Jha_52506
Noctilucent
Please go through link
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