Forum Discussion
Arie
Altostratus
Nov 07, 2011This is probably more efficient:
if { [HTTP::host] equals "e02extport.com" } {
switch -glob [HTTP::path] {
"/var1/*" {
pool pool_ext_e02_var1
}
"/var2/*" { pool pool_ext_e02_var2 } "/var3/*" { pool pool_ext_e02_var3 } default { pool pool_ext_e02_default } }}