CONTENTS
Lastmodified 2018-10-10 (水) 13:06:16
http のアクセスを https へリダイレクト
/usr/local/etc/apache24/httpd.conf
アンコメント
LoadModule rewrite_module libexec/apache24/mod_rewrite.so
/usr/local/etc/apache24/Includes/https.conf
<ifModule mod_rewrite.c> RewriteEngine On LogLevel alert rewrite:trace3 RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] </ifModule>
https://qiita.com/sue71/items/100004b704b9ff129b09
Total access 1483:本日 1:昨日 0