Last active
November 22, 2016 13:53
-
-
Save e2kaneko/9547311 to your computer and use it in GitHub Desktop.
.htaccessで特定のページのみhttpsからhttpにリダイレクトする(あるいはその逆) ref: http://qiita.com/kaneko_tomo/items/1e49c5459fd84614b4d4
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
| RewriteEngine On | |
| RewriteCond %{REQUEST_URI} ^/profile/ [OR] | |
| RewriteCond %{REQUEST_URI} ^/sp/profile/ | |
| RewriteCond %{HTTPS} on | |
| RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment