haridas_175080
Oct 31, 2014Nimbostratus
trying if else if. not working.. please help me
when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "abc.com " } { HTTP::redirect "https://abc.com " } else if {
[string tolower [HTTP::host]] equals "123.com " }
{
HTTP::redirect "https://123.com "
}
else
{
HTTP::redirect "https://www.xyz.com "
}
}