So, site1.com/communities would be rewritten as site2.com/someother_uri but the browser would not change. Obviously you may have to tweak this looking at your example above but this should get you on your way.
I am the one doing the redirect to a different pool when the request comes in, so technically the request never reaches pool A when request A with URI “/communities” comes in…
http_request to sitea--> VIP A-->Pool A (default pool)
http_request to sitea/communities--> VIP A --> PoolB (new site with address www.siteB.com) but on the browser still has to look like "sitea/communities "
I understand that you are trying to get the traffic to a different pool, but I was asking whether the new pool servers require a different path in order to serve up the same content. For example, if “http://oldsite.com/communities” translates to “http://newsite.com/differentcommunity”, then you should do the following:
when HTTP_REQUEST {
if { [HTTP::uri] eq "/communities" }{
HTTP::path "/differentcommunity"
pool pool_b
}
else {
pool pool_a
}
}
My guess is that the new webserver is in fact redirecting the traffic to it’s URL since it does not answer to the same PATH…does that make sense?