2

此问题发生在 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。

4

2 回答 2

1

找到了解决方案。

似乎系统的重新启动更新了我的 yum 软件包,包括与我的 Apache 安装 [2.2.19] 冲突的httpd [2.2.22]。

我将Apache 中的 mod_ssl.so [2.2.16]更新mod_ssl.so [2.2.22] 并解决了错误。

于 2012-02-29T08:22:48.120 回答
1

更新 mod_ssl 和 httpd 也为我们解决了这个问题。感谢所有做出贡献的人。

于 2012-03-19T22:13:34.723 回答