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