문제

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.

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.

도움이 되었습니까?

해결책 2

Found solution for this.

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].

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

다른 팁

Updating mod_ssl and httpd fixed this issue for us too. Thanks to all who contributed.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top