For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Santhosh's avatar
Santhosh
Icon for Nimbostratus rankNimbostratus
May 19, 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

}

}