Apache mod_rewrite实现HTTP和HTTPS重定向跳转

<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteBase /
 RewriteCond %{SERVER_PORT} 80
 RewriteRule ^(.*)$ https://huisekeren.org/$1 [R=301,L]
</IfModule>
​
Last modification:January 2nd, 2018 at 12:24 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment