Created
March 10, 2016 03:59
-
-
Save mskian/44f2f833840cc8ff0a3c to your computer and use it in GitHub Desktop.
htaccess code for activating an SSL for Specific Folder (Example - Payment Gateway Link)
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
RewriteEngine On | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteCond %{REQUEST_URI} folder | |
RewriteRule ^(.*)$ https://www.example.com/folder/$1 [R,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment