Forum Discussion
Geoff_Gudgeon_3
Nimbostratus
Aug 10, 2017How to prepend string to existing URI
Hi,
Just wondering how I might go about inserting(prepend) a string at the beginning of a URI
e.g.
https://www.something.com/param1¶m2
changed to
https://www.something.c...
daveclarkjr
Nimbostratus
Aug 10, 2017when HTTP_REQUEST {
if { [HTTP::uri] eq "/param1¶m2"}{
HTTP::redirect [string map {/param1¶m2 /param3¶m1¶m2}[HTTP::uri]]
}
}
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