Created
March 12, 2013 09:21
-
-
Save tur-nr/5141440 to your computer and use it in GitHub Desktop.
Force HTTPS protocol.
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 %{HTTPS} off | |
RewriteCond %{REQUEST_URI} ^/secure/path | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment