Forum Discussion
Sheigh_65772
Dec 04, 2014Cirrus
Here's another options as well, really just comes down to how much data you got and how you want to manage it. Personally I like the second options Shaggy suggested.
when HTTP_REQUEST {
set host [string tolower [HTTP::host]]
switch $host {
"site1.com" -
"site2.com" -
"www.site3.com" {
HTTP::redirect "https://mywebsite.com"
}
}
}