Forum Discussion
The_Bhattman
Feb 28, 2008Nimbostratus
Try this
when HTTP_REQUEST {
if {[HTTP::host equals "portal.innovation.net"]} {
HTTP::redirect "https://[HTTP::host]/PortalWAR/appmanager/portal/home"
} else {
HTTP::redirect "https://[HTTP::host]/[HTTP::uri]"
}
}
I would also look into the switch statement which executes a bit faster then IF-ELSE