Luca_55898
Feb 06, 2012Nimbostratus
simple host redirect
This should be easy but for some reason i'm struggling...
I need to redirect site.com to site.com/portal.
I thought this would work
when HTTP_REQUEST {
if { [HTTP::host] equals "site.com" }{
HTTP::redirect "http://site.com/portal"
}
}
But it no work...... What am i missing here?