Created
May 28, 2015 08:15
-
-
Save thierrypigot/1f35e8dfc453c6c9d051 to your computer and use it in GitHub Desktop.
.htaccess : Redirection d’un site vers https
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
| Options +Followsymlinks | |
| RewriteEngine On | |
| RewriteEngine On | |
| RewriteCond %{SERVER_PORT} !^443$ | |
| RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [L,R] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment