Forum Discussion
Stanislas_Piro2
Sep 01, 2017Cumulonimbus
Hi
switch does not support multiple condition.
You have to do that:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"/busines/portal.*html" {same action than default}
"/business/portal.*" {
other actions
}
default {actions}
}
}
or you use if / then / elseif / else