Created
June 3, 2016 21:00
-
-
Save lyquix-owner/26d10bd264e874576b04a67db965f931 to your computer and use it in GitHub Desktop.
Force directory to use SSL
This file contains 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
# Force directory to SSL # | |
RewriteEngine On | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteCond %{REQUEST_URI} ^/phpmyadmin/? | |
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment