阿帕奇HTTPS的400错误重定向结果 [英] Apache https redirection results in 400 error

查看:629
本文介绍了阿帕奇HTTPS的400错误重定向结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此问题发生在红帽实例。安装Apache是​​版本[阿帕奇/ 2.2.19]和mod_ssl的版本是[2.2.16]
HTTP访问工作正常,但是当mod_rewrite的是HTTP启用到HTTPS重定向,将导致以下400错误:

This issue is happening on a Red Hat instance. The apache installed is version [Apache/2.2.19] and the mod_ssl version is [2.2.16.] HTTP access works fine, but when mod_rewrite is enabled for http to https redirection, it results in following 400 Error:

Bad Request

Your browser sent a request that this server could not understand.
Request header field is missing ':' separator.

在Apache的error_log中文件中的错误是:

The error in Apache's error_log file is:

request failed: error reading the headers

类似的设置工作在另一个环境。有人可以帮我解决这个问题。

The similar setup is working in another environment. Can someone please help me to resolve this.

谢谢
诺曼埃。

Thanks Noman A.

推荐答案

找到解决这一点。

看来,系统重启更新了我的yum包,包括的httpd [2.2.22]这是我的Apache安装发生冲突[2.2.19]。

It appears that the reboot of the system updated my yum packages, including httpd [2.2.22] which was conflicting with my Apache installation [2.2.19].

我更新了 mod_ssl.so [2.2.16]在我的Apache为 mod_ssl.so [2.2.22]和错误就解决了。

I updated the mod_ssl.so [2.2.16] in my Apache to mod_ssl.so [2.2.22] and the error was resolved.

这篇关于阿帕奇HTTPS的400错误重定向结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆