Forum Discussion
Sep 29, 2005
The one issue I see with your rule is that there is no "HTTPS::host" variable. You'll have to check the "TCP::local_port" value to check whether this is on port 443 (https) or not.
ie.
when HTTP_REQUEST {
if { [HTTP::host] eq "vs1.domain.com"} {
pool pool1
} elseif { [HTTP::host] eq "vs2.domain.com"} {
pool pool2
} elseif { [HTTP::host] eq "vs3.domain.com"} {
pool pool3
} elseif { ([TCP::local_port] == 443) and ([HTTP::host] eq "vs.domain.com") } {
pool pool3ssl
} else {
pool defaultpool
}
}
-Joe