Forum Discussion
GBurch
Altostratus
Jun 28, 2019Syntax for iRule string manipulation
I have an iRule with the following code: set schema [getfield [HTTP::uri] "&" 2]
set host [getfield [HTTP::uri] "&" 3]
set uri [getfield [HTTP::uri] "&" 4]
which works in the vast majo...
Stanislas_Piro2
Cumulonimbus
Jun 28, 2019HTTP query ordered parameters is not the best solution...
I guess the uri format is :
/page.php?var1=value1&schema=value2&host=value3&uri=value4
you can use following command to get query string parameters
set schema [URI::query [HTTP::uri] schema]
set host [URI::query [HTTP::uri] host]
set uri [URI::query [HTTP::uri] uri]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
