Hi Jcribb,
I am assuming that you have a vip for listening on port 80 and another vip listening on port 443
Based on this you could create an irule for port 80 redirect only
Which would look like the following
when HTTP_REQUEST {
HTTP::redirect "https://webmail.mysite.com/home/mail/default/"
}
This would take care of anyone going to port 80 and would be redirected correctly to https
-------------
The following example is the virtual server for port 443. Assuming this is for clients already using https but not the correct URI path you wanted
when HTTP_REQUEST {
if { ([HTTP::Host] eq "webmail.mysite.com") and ([HTTP::uri] eq "/") } {
HTTP::redirect "https://webmail.mysite.com/home/mail/default/"
}
}
I hope this helps
Bhattman