htaccess httpsでアクセスさせる メモ
Apacheのmod_rewriteを利用して自動的にhttpsでアクセスさせる方法。
RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
参考にさせていただきました。
http://webmag.dnw.jp/2008/03/htaccess_http_https.html
Apacheのmod_rewriteを利用して自動的にhttpsでアクセスさせる方法。
RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
参考にさせていただきました。
http://webmag.dnw.jp/2008/03/htaccess_http_https.html