08-Dec-2020 13:36
I have a url like
http://server1/cyberdocs/getdoc.asp?altentry=Y&doc=208923
that I would like to redirect the client to
pcdocs://Server2/208923/R
I need to redirect the client, not continue and send the packet to the server as the server doesn't know what to do with the pcdocs:// but the client does.
I have no idea how to do this.
Any assistance would be greatly appreciated.
Solved! Go to Solution.
14-Dec-2020
04:30
- last edited on
04-Jun-2023
21:08
by
JimmyPackets
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.
14-Dec-2020
04:30
- last edited on
04-Jun-2023
21:08
by
JimmyPackets
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.
15-Dec-2020 13:23
Thanks, that was exactly what I needed.
15-Dec-2020 20:12
Glad could be of help, pls mark the thread as solution provided.