Actually, here's exactly what I've got going on now. I have a single static IP an I host multiple semi-independent domains. Some just have WWW others have both WWW and MAIL. Only some of the domains with MAIL have Webmail available. Currently I'm only using the SSL for MAIL so I also want to use SSL with Webmail.
Site1: domain1.com - Non-SSL redirect webmail to /webmail
https://webmail.domain1.com
Site2: domain2.com - Non-SSL redirect webmail to /webmail
https://webmail.domain2.com
Site3: domain3.com - Non-SSL redirect webmail to /webmail
https://webmail.domain3.com
Site4: webmail-443 - SSL, Webmail only. Aliases for webmail.domain1.com, webmail.domain2.com and webmail.domain3.com
So far this setup works great. I only need a single site to redirect all the SSL-based webmail. What I'd like is for a single site to redirect all the Non-SSL requests for webmail, ie
http://webmail.domain1.com to
https://webmail.domain1.com. But I'd like to be able to accomplish this for all domains with webmail in a single site similarly to how it seems to work for the SSL webmail.
Optimally, here's what I'd like.
Site5: webmail-80 - Non-SSL Webmail Redirect Only. Aliases for webmail.domain1.com, webmail.domain2.com and webmail.domain3.com
RedirectMatch /webmail(.*) to https:/webmail$1 (or something else that might work for any and all domains)
The idea being that it would match all incoming port 80 requests for webmail and route them to https and port 443. So far the only way I have it working is with a separate site for each domain with a RedirectMatch (.*)
https://webmail.[domain].com.
Does that explain it?