Forum Discussion
Chris_Phillips
Jan 23, 2012Nimbostratus
I see what you're asking for now, and I don't personally think it is a wise solution to any problem. If the back end is going to do a redirection then something else clearly must use the redirection, and if it's not the UA, it's the LTM. So you really want a client to request domain1.com, the LTM pass that to the back end, the back end to 302 to domain2.com, the ltm to intercept this 302, follow it and then retry the incoming request again to an alternative pool.
There are examples of this: http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/1171749/showtab/groupforums/Default.aspx
http://devcentral.f5.com/wiki/iRules.Redirect-Trapper.ashx
But if I were being asked to implement this professionally I would rather push back very hard to make the application work differently in the first place, or shange the requirements.