Forum Discussion
hooleylist
May 18, 2011Cirrostratus
I'd create a new port 80 virtual server on the same IP as the any port VS. You could then add an HTTP profile and use an iRule like this to do the redirection.
when HTTP_REQUEST {
switch [HTTP::path] {
"/" {
Send a 302 redirect
HTTP::redirect "/newsliner"
Rewrite the URI and send
HTTP::uri "/newsliner"
}
default {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
}
Aaron