Forum Discussion
The_Bhattman
Feb 17, 2009Nimbostratus
Hi Eddie,
First HTTPS_REQUEST and HTTPS::path doesn't exist (but we all wish it did 😉 ). Second, if you are passing HTTPS traffic through the load balancer instead of offloading the SSL traffic, then everything will be encrypted, except the hostname and port.
If you are offloading SSL traffic on the BIGIP then it's possible to use
when HTTP_REQUEST {
if { [HTTP::path] contains "chat.mesaaz.gov" }{
pool chat.mesaaz.gov_pool
} elseif { [HTTP::path] contains "ocs.mesaaz.gov" }{
pool ocs.mesaaz.gov_pool
} else {
pool default_gateway_pool
}
}
Because the assumption here is that Client to VIP is SSL and then VIP to load balanced node is HTTP.
Hope that helps
CB