sample.netドメインの常時SSL
1 2 3 4 5 6 |
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^sample/\.net$ [OR,NC] RewriteCond %{HTTP:X-Sakura-Forwarded-For} ^$ RewriteRule ^(.*)$ https://www.sample.net/$1 [R=301,L] </IfModule> |
コメント