此问题发生在 Red Hat 实例上。安装的apache版本是[Apache/2.2.19],mod_ssl版本是[2.2.16.] HTTP 访问工作正常,但是当为 http 到 https 重定向启用 mod_rewrite 时,会导致以下 400 错误:
Bad Request
Your browser sent a request that this server could not understand.
Request header field is missing ':' separator.
Apache的error_log文件中的错误是:
request failed: error reading the headers
类似的设置在另一个环境中运行。有人可以帮我解决这个问题吗?
谢谢 诺曼·A.
最佳答案
更新 mod_ssl 和 httpd 也为我们解决了这个问题。感谢所有贡献者。
关于Apache https 重定向导致 400 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9484334/