Is it possible to have different path for different target under single http target connection?

Exisiting:
<HTTPTargetConnection> <LoadBalancer> <Algorithm>Weighted</Algorithm> <Server name="Targetserver1"> <Weight>1</Weight> </Server> <Server name="Targetserver2"> <Weight>1</Weight> </Server> <Server name="Targetserver3"> <Weight>1</Weight> </Server> <Server name="Targetserver4"> <Weight>1</Weight> </Server> </LoadBalancer> <Path>/path1/</Path>

Expected config
<HTTPTargetConnection> <LoadBalancer> <Algorithm>Weighted</Algorithm> <Server name="Targetserver1"> <Weight>1</Weight> <Path>/path1/</Path> </Server> <Path>/path1/</Path> <Server name="Targetserver2"> <Weight>1</Weight> <Path>/path2/</Path> </Server> <Server name="Targetserver3"> <Weight>1</Weight> <Path>/path3/</Path> </Server> <Path>/path1/</Path> <Server name="Targetserver4"> <Weight>1</Weight> <Path>/path4/</Path> </Server> </LoadBalancer> Is it possible to have different URI to have as above?
0 1 174
1 REPLY 1

Nope, you cannot configure things that way under the LoadBalancer element.

Also, there's no way to configure a path on each TargetServer entity, either.

One posible workaround:

You could configure a separate proxy for each target that needs special path remediation.
And within that separate proxy, apply the path you need. Rather than the targetserver pointing to api.targetserver1.com, it might point to myorg-myenv.apigee.net/usualpath and then .. apply/transform the right path as appropriate.