Created
December 31, 2016 08:47
-
-
Save derekbtw/458477ce16abbe3a518efe93e2e13124 to your computer and use it in GitHub Desktop.
Don't force SSL in specific directory
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
#Place the following inside the directory you don't want SSL on | |
RewriteCond %{HTTPS} on | |
RewriteCond %{REQUEST_URI} ^/ | |
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment