a normal http to https rewrite could look like this:
RewriteEngine On
# RewriteCond %{HTTP_HOST} !^example.com$
# RewriteRule /.* https://example.com/ [R]
but this code specifies the site to "example.com"
Is there anyway to make a "global" rewrite, so regardless if anybody opens example.com, broken.example.com or even example.Lom, (as long as the DNS is pointing to the server) so will it simply put a https on it?
for servers that have more than one domain name.
Would be great to be able to use the same code everywhere..