Forum Discussion
jaikumar_f5
Nov 09, 2018MVP
Hi Ravish,
Try this, use the string map to map the / with the new uri /loc1/loc2/.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host]] {
"httprequest.com" {
HTTP::uri [string map {/ /loc1/loc2/} [HTTP::uri]]
}
}
}