RewriteCond %{HTTP_HOST} !violet.loc
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
Created
January 2, 2019 09:51
-
-
Save garyconstable/6d589cea487120221865a9a219377a5e to your computer and use it in GitHub Desktop.
HTACCESS - But not for localhost
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment