Forum Discussion
crodriguez
Apr 19, 2018Ret. Employee
So long as "/PROD/" does not appear anywhere else in the URI, you should be able to use something like below. This assumes the URI is not case sensitive, and that /PROD/ is the same as /prod/ or /Prod/.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/prod/" } {
HTTP::uri [string map { "/prod/" "/" } [HTTP::uri]]
}
}
I ran a modest test on my BIG-IP system but await results in your environment.