Forum Discussion
Moinul_Rony
Altostratus
May 15, 2014How to destroy and replace a URI query value ?
Hi,
I am trying to figure out how I can replace a URI query value.
For example for this we will select the URL based on the HTTP:host
Incoming URL pattern
https://host/URI?
http...
PK_Bhatia
Nimbostratus
May 15, 2014when HTTP_REQUEST { if {([HTTP::uri] contains "query=any_value") } { HTTP::redirect "https://host/URI?query=ReplacedValue" } }
I think this should work.
-PK
- Moinul_RonyMay 15, 2014
Altostratus
Thanks p1hbatia, By "any_value or *" i meant regardless of any value the Query has it should always redirect to the destination.
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