farache_28983
May 14, 2012Nimbostratus
Redirect request to different pools and rewrite the URL
The request goes to: site1.com/communities but the content is served from site2.com (different pool)
All this needs to happen on the backgroup and the client URL cannot change. So they will still see site1.com/communities
or
The user will enter site.mydomain.com and be sent to newsite.newdomain.com/page1/page2... While this happens the displayed URL should not change and remain site.mydomain.com.
So far I've done this:
when HTTP_REQUEST {
if { [HTTP::uri] ends_with "/communities/default.aspx"} {
pool cmnty_pool
} elseif { [HTTP::uri] ends_with "/communities/video"} {
pool cmnty-video_pool
}
}
but this rules does not keep the URL intact and displays the pool b URL
thanks,