F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Fready_Ball's avatar
Fready_Ball
Icon for Nimbostratus rankNimbostratus
Oct 14, 2020
Solved

Modify blank URI

I am using this to modify get request in F5 to real server. if { [HTTP::uri] starts_with "/supervisor" } { HTTP::uri [string map {"/supervisor" "/admin"} [HTTP::uri]] }   and it works OK.  ...
  • Enes_Afsin_Al's avatar
    Oct 14, 2020

    Hi Fready Ball,

    You must use equals instead of starts_with.

    if { [HTTP::uri] equals "/" } {
    	HTTP::uri [string map {"/" "/user"} [HTTP::uri]]
    }