Hi muzammil,
Try this. Should be easy to make adjustments to if needed.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host]] {
"www.mysite.com" -
"mysite.com" -
"10.1.1.1" {
switch -glob [string tolower [HTTP::path]] {
"/123" -
"*/abc/def/123" {
HTTP::redirect "http://www.mysite.com/abc/def/personal/123/?resetP=true"
}
"*/fiber/" {
HTTP::redirect "http://[HTTP::host][string map {"/fiber" "/broad"} [HTTP::uri]]"
}
"*/fiber/!ut" {
HTTP::redirect "http://[HTTP::host][string map {"/fiber/!ut" "/broad"} [HTTP::uri]]"
}
}
}
}
}