Forum Discussion
hooleylist
Aug 04, 2011Cirrostratus
I'd try this to explicitly define which pool to use in all cases:
when CLIENT_ACCEPTED {
Save the name of the VS default pool
before it can be modified in HTTP_REQUEST
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
cat1.com {
pool pool1
}
cat2.com {
pool pool2
}
default {
pool $default_pool
}
}
}
Aaron