Normally this would not be an issue with a simple modrewrite but this one is a little different.
1. I have 2 domains that share the same content.
What I want to do is redirect
domain1.com to https://www.domain1.com
domain2.com to https://www.domain2.com
I am not sure how to put in a IF ELSE with .htaccess
Also, if they enter www.domain1.com
and it's NOT SSL I want to redirect to SSL.