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

Santhosh's avatar
Santhosh
Icon for Nimbostratus rankNimbostratus
May 18, 2020

URI Replacement for every request

Need help on URI replacement. the below irule is only working for the initial request but not the other request after getting in to the application somehow.

 

when HTTP_REQUEST {

   set http_uri [HTTP::uri]

   set http_host [string tolower [HTTP::header "Host"]]

 

   if { [HTTP::uri] matches_glob "/profile" } {

       HTTP::uri [string map {/profile /account} [HTTP::path]]

      SSL::disable serverside

       pool ABCD

   }

else {

Pool XYZ

}

}