So the one thing that still concerns me. Not sure if I'm misunderstanding the problem, but it seem to me this would be the flow.
Client -> "/a/b/c" -> Vip(redirects to pool redirect-pool) -> Servers.
That's fine but if i rewrite the irule so that /blah/blah/blah is rewritten as /a/b/c, when the traffic returns from the servers, I want to rewrite the uri back to what it was originally. I can do this based on what? Unfortunately, all I know how how to do this is based on uri as well. So...
Client -> "/blah/blah/blah/" -> VIP(uri is rewritten as "/a/b/c" and sent to redirect-pool) -> Servers -> VIP(rewritten to "/blah/blah/blah/") -> Client
Client -> "/a/b/c" -> Vip(redirects to pool redirect-pool) -> Servers - > VIP(also rewritten as "/blah/blah/blah/") -> Client
In the first case its "/blah/blah/blah/" is rewritten back to "/blah/blah/blah/" on its return trip. On the second case "/a/b/c" is also rewritten as "/blah/blah/blah/" on its return trip, something thats not desirable.
If instead "/blah/blah/blah/" is rewritten to "/", on the return trip, all redirected traffic is still rewritten as "/blah/blah/blah", which wouldn't be good either.
Am I misunderstanding the situation here?