Forum Discussion
Rob_Woods
Nimbostratus
Dec 08, 2020Rewrite URL with parameters
I have a url like http://server1/cyberdocs/getdoc.asp?altentry=Y&doc=208923 that I would like to ...
- Dec 14, 2020
Hi ,
You can do with query cmd and capture value,
ltm rule pcdocs-test { when HTTP_REQUEST { set value [URI::query [HTTP::uri] doc] HTTP::redirect "pcdocs://server2/$value/R" } }Let us know if you need more help.
jaikumar_f5
Noctilucent
Dec 14, 2020Hi ,
You can do with query cmd and capture value,
ltm rule pcdocs-test {
when HTTP_REQUEST {
set value [URI::query [HTTP::uri] doc]
HTTP::redirect "pcdocs://server2/$value/R"
}
}Let us know if you need more help.
- Rob_WoodsDec 15, 2020
Nimbostratus
Thanks, that was exactly what I needed.
- jaikumar_f5Dec 16, 2020
Noctilucent
Glad could be of help, pls mark the thread as solution provided.
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
