Forum Discussion

Rob_Woods's avatar
Rob_Woods
Icon for Nimbostratus rankNimbostratus
Dec 08, 2020
Solved

Rewrite URL with parameters

I have a url like http://server1/cyberdocs/getdoc.asp?altentry=Y&doc=208923                                                                                                    that I would like to ...
  • jaikumar_f5's avatar
    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.