I am trying to rewrite the part of Path URI using LTM Policy but the problem is when the Path URI gets rewritten the whole URI is rewritten without keeping the rest of the path.
@igor_1 Sadly I’m far familiar with iRules than traffic policies so I’m not sure if you can do this in a traffic policy. What you want to do is a string map rather than a rewrite and the string you want to map is “/path1/v2/d” to “/path/app” which should conver the path as it traverses the F5 VS and is sent to the pool members.
I haven’t used the rewrite profile operationally before, so I’m not sure if it’s absolute or relative in what it replaces, but in looking at the config, seems possible on a request if it is a pattern match rather than an absolute path match: