且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

HTTPS请求忽略重写规则

更新时间:2021-08-13 21:46:45

据我所知,你的规则有没有什么依赖于端口或协议上。我的猜测是,你的HTTP和HTTPS站点是根据不同的设置运行:他们要么使用不同的文档根目录或第二个没有的的AllowOverride 任何东西(它需要所有的FileInfo )。

As far as I can tell, your rule has nothing that depends on the port or protocol. My educated guess is that your HTTP and HTTPS sites are running under different settings: they are either using a different document root or the second does not AllowOverride anything (it needs All or FileInfo).