Santhosh
May 19, 2020Nimbostratus
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
}
}