Apache自动跳转到 HTTPS(适用多种环境Phpstudy/Wamp/Lamp)

网站根目录新建 .htaccess RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.…