Forum Discussion
Chris_Miller
Jan 17, 2011Altostratus
Something like this would work fine:
when HTTP_REQUEST {
log local0. "User requested Host [HTTP::host]"
if { [class match [string tolower [HTTP::host]] contains excluded_hosts] } {
log local0. "[HTTP::host] going directly to [HTTP::host] -- 1.2"
pool internet_pool }
else {
log local0. "[HTTP::host] going through proxy--1.3"
pool proxy_pool }
}