Forum Discussion
Stanislas_Piro2
May 31, 2017Cumulonimbus
Hi,
You can also use a switch instead of if / then / else
when HTTP_REQUEST {
switch -glob -- [string tolower [HTTP::uri]] {
"/ecommunications_ccfra*" {
pool Pool_CRM81_ccfra
}
"/content*" {
pool Pool_CRM81_Content_80
persist none
}
default {drop}
}
}