RewriteEngine on 
RewriteCond %{SERVER_PORT} !^443 
RewriteRule ^(.*)$ https://HOST.DOMAIN.DOM/$1 [r=301,L]