Forum Discussion
The_Bhattman
Aug 01, 2011Nimbostratus
hi El_Jefe,
You can also use the switch command
when HTTP_REQUEST {
if { [HTTP::host] eq "host.department.university.edu" } {
set URI "/Application/faces/oracle/webcenter/portalapp/pages/login.jspx"
switch -glob [string tolower [HTTP::uri] {
"/" -
"/application" { HTTP::redirect "https://[HTTP::host]/$uri" }
default { HTTP::redirect "https://[HTTP::host]/$uri }
}
}
}
I hope this helps
Bhattman