Forum Discussion
Michael_Yates
Nov 02, 2011Nimbostratus
Hi DM,
Check the Virtual Server and insure that "Address Translation" and "Port Translation" are enabled. They should be enabled by default.
If so, the LTM will do all of the Port Translation in the background (no need to append any ":8080" in the request) and the Address Translation from the Virtual Server IP Address to the Pool Server IP Address.
This should do what you are asking:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/soap/newapp1*" { pool SOAP_POOL }
"/app1*" -
"/app2*" -
"/app3*" -
"/app4*" { pool APACHE_SERVER_POOL }
}
default { pool IIS_WEB_POOL }
}
Hope this helps.