<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
# 没加上这两句之前可以,加上之后谷歌;浏览器提示重定向次数过多!
# RewriteCond %{HTTPS} !=on
# RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
我想的是RewriteCond %{HTTPS} !=on
这个判断在 https
下面也没有生效
要怎么办啊??
并且在手动设置为https 状态下打印的信息还是
http