Forum Discussion
Dec 05, 2016
Or use the switch statement.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/fmstorefront*" -
"/medias*" -
"/fmwebservice*" -
"/ipows*" {
pool qa.fmmpe-cat.com_80
}
default {
HTTP::redirect "https://d2ipxxe5h4s25e.cloudfront.net"
}
}
}