I have now a www -> non-www redirect running:
RewriteCond %{HTTP_HOST} ^www\.mydomain\.com$ [NC]
RewriteRule ^(.*)$ http://mydomain.com/$1 [R=301,L]
this has worked well.
--------
Now I have SSL on, and need to 301 redirect all http requests to matching https content.
Also, ://www.mydomain.com...