Created
September 9, 2015 19:29
-
-
Save nielsenrc/8a3db968d2ad35ae2c42 to your computer and use it in GitHub Desktop.
Enforce SSL in Apache htaccess File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment