Forum Discussion
Anil_Gupta_01_1
Nimbostratus
Jun 25, 2014irule for selecting pool based upon https website request
Hi,
We have Microsoft TMG server who is publishing our three website with one single Public IP address. As Microsoft TMG is EOL and EOS, We are planning to migrate the website on F5 LTM.
My...
Cory_50405
Noctilucent
Jun 25, 2014Try this:
when HTTP_REQUEST {
if { [HTTP::host] equals "aol.xyz.com" } {
pool aol_pool
} elseif { [HTTP::host] equals "yahoo.xyz.com" } {
pool yahoo_pool
} elseif { [HTTP::host] equals "google.xyz.com" } {
pool google_pool
} else { discard }
}
Cory_50405
Noctilucent
Jun 25, 2014To add to this, you must be terminating SSL on this virtual server in order to inspect the HTTP host header. Looks like you'll probably need a wildcard certificate for that if you don't already have one.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects