Forum Discussion
brook8_375061
Nimbostratus
Dec 06, 2018Irule to Redirect from https://abc.com/test/foo?app=$1&ver=$2&cal=$3 to https://abc.com/bar.?$1.$2.$3
Hello,
Is below redirection possible using irules. If yes, can you please help.
The incoming URI that client requests:
/test/foo?app=$1&ver=$2&cal=$3
Redirects to:
/bar.?$1.$2.$3.
--...
Stanislas_Piro2
Cumulonimbus
Dec 06, 2018You can use following code to get query string parameters values
set ver [URI::query [HTTP::uri] ver]
set cal [URI::query [HTTP::uri] cal]
set app [URI::query [HTTP::uri] app]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