Forum Discussion
youssef1
Sep 24, 2019Cumulonimbus
Hi,
can you try this:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] == "cg.company.local" && [HTTP::uri] == "/" } {
HTTP::redirect "https://[HTTP::host]/SVFE2/"
}
elseif { [string tolower [HTTP::host]] == "sg.company.local" && [HTTP::uri] == "/" } {
HTTP::redirect "https://[HTTP::host]/sv/"
}
}
Regards