Forum Discussion
Lee_Payne_53457
Apr 29, 2015Cirrostratus
I think you want something like:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host]] {
"/atm" {
pool atm_HTTP
}
"/ammcontent*" {
pool atm_HTTP
}
}
}
You can then future proof it by redirecting based on URI and adding new lines easily.