Angelo
May 13, 2013Nimbostratus
redirect Multiple URL's
Hi
I got a rule to redirect multiple URL's to anothers but i'm not sure if it's going to work..
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"www.test.com" { [string tolower [HTTP::uri]] "www.test201.net" }
"www.example.com" { [string tolower [HTTP::uri]] "www.example403.net" }
"www.something.com" { [string tolower [HTTP::uri]] "www.example403.net" }
"www.testing.com" { [string tolower [HTTP::uri]] "www.example403.net" }
default {
reject }
}
}