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