Forum Discussion
So when users come to somewhere.domain.com, I want to send them to somewhere.domain.com/here and I want them to use poolA
While the users are navigating around somewhere.domain.com/here, they may click on an applet that sends them a redirect to a different backend server which I've configured as a separate pool member (poolB)... So my thinking was, when the client receives this redirect, my iRule would send them to poolB.
Here's what my iRule looks like now and it's not working...
when HTTP_REQUEST {
if { [HTTP::uri] contains "configurator" } {
pool poolB
}
elseif { [HTTP::uri] equals "/" } {
HTTP::uri "/QITF/faces/portal"
pool poolA
}
}
The redirect the client receives is something to the effect of somewhere.domain.com:8003/configurator. I was thinking of either using "URI contains" or "TCP local port equals"
And I do not have a default pool set up on this VS.