I don't know how to do the rewrite rule but the redirct can be done properly by:
Redirect 301 /example/test.html http://www.yoursite.com/newlocation/newpage.html
Cut and paste this code into your .htaccess file. "Redirect 301" means that it is a permanent redirect. You can change it to "Redirect 302" for a temporary redirect. If you have no number, then it will default to a temporary (302) redirect. Change the "/example/test.html" to your old location. Then put your new location in where it says "http://www.yoursite.com/newlocation/newpage.html". You're done!
This was taken from http://www.totalchoicehosting.com/fo...showtopic=3965
Then it can also be done by the way suggested by the previous poster.
I am not sure but I think can be done by making an index.html that contains:
<meta http-equiv="Refresh" content="1; URL=https://www.mydomain.com:81/webmail">
and putting it in mydomain.com/webmail/ (the indext.html file you just made)
This above example uses a 1 second delay, mainly because I dont know if 0 would make it have no delay, or make it delay forever.
Hope this helps.