irule to add member specific URI path
We have 2 existing app servers with URL https://abc.xyz.com/abc/crg.aspx and https://def.xyz.com/def/crg.aspx which we try to load balance using F5. App won't work without the specific URL path and I wanted to create an irule which will add relevant member URI path.
eg; user 1 access 123.xyz.com ---> LB select member 1 and URI get append as https://123.xyz.com/abc/crg.aspx
user 2 access 123.xyz.com ---> LB select member 2 and URI get append as https://123.xyz.com/def/crg.aspx
Would you be able to help with an irule that meets above requirement