Forum Discussion
What_Lies_Bene1
Jan 25, 2013Cirrostratus
This perhaps;
when HTTP_REQUEST {
switch -glob [string tolower $variable-name] {
"*abc*" -
"*def*" { HTTP::redirect https://www.xyz.com/xyz }
"*ghi*" { HTTP::redirect https://www.mno.com/mno }
default {
HTTP::redirect "https://[HTTP::host][HTTP::uri]" }
}
}