how can i in the htaccess rewrite all using http:// or http://www. to https? can anybody help me?
I have:
RewriteCond "%{SERVER_PORT}" "^80$"
RewriteRule "^(.*)$" "https://%{SERVER_NAME}/$1" [R=301,L]
...but a request via http://www. also needs to https://example.com/