There are three parts to this:
-
Port - this is provided by the pool members and address translation in the VIP.
-
Pool number in Host name - if this is actually required, an iRule can modify the Host header on entry.
-
The URI - this is a pretty straight forward iRule. Example:
when HTTP_REQUEST {
HTTP::header replace Host "mysite.mydomain.com:50000"
if { [HTTP::uri] equals "/" } {
HTTP::uri "/MessagingSystem/receive/CIDXAdapter/CIDX/"
}
}
This assumes that you're simply changing the URI as it passes through the proxy, that you don't need the user to see this URI, and that any URI request that isn't empty will be passed through. If these assumptions aren't correct, please let us know.