Robert_47833
Sep 29, 2011Altostratus
can I use switch in this way?
insert switch in to another switch
can I use it in this way?
switch -glob [HTTP::uri] {
"/" {
switch -glob [string tolower [HTTP::host]] {
"*.co.uk" {
HTTP::redirect
return
}
default {
HTTP::redirect
return
}
}
}
"/account*" {
persist none
pool MYX
return
}