>Number: 2275 >Category: general >Synopsis: mailformed header in the case of 503 code >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun May 24 15:50:00 PDT 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3b6 >Environment: Linux RedHat 5.0 gcc >Description: In the case of 503 code server prints mailformed header: (It does not print Server: Connection: close etc.)
This error happens on servers running Apache 1.2.6 and 1.3b6 Example: [EMAIL PROTECTED] /tmp: telnet freshmeat.net 80 Trying 199.183.24.237... Connected to freshmeat.net. Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.0 503 Service Unavailable Content-Type: text/html Date: Sun, 24 May 1998 22:31:58 GMT <HTML> <HEAD> <TITLE>Problem Report</TITLE> </HEAD> <BODY> <B><FONT SIZE=+1>Problem Report</FONT></B> <P>HTTP Error <B>503</B> occurred while attempting to retrieve the URL: '<B>http://199.183.24.237/</B>'.<BR><HR WIDTH="100%"> <B>Problem Description:</B><BR>Connect failed to server '199.183.24.237'.<BR><BR><CENTER><TABLE BORDER COLS=2 WIDTH="100%" ><TR> <TD><B>Possible Problem Cause</B></TD><TD><B>Solutions</B></TD></TR> <TR> <TD>The server is busy</TD> <TD>Try again, later</TD> </TR></TABLE></CENTER><BR><HR WIDTH="100%"> </BODY></HTML>Connection closed by foreign host. [EMAIL PROTECTED] /tmp: In the other time: [EMAIL PROTECTED] /tmp: telnet freshmeat.net 80 Trying 199.183.24.237... Connected to freshmeat.net. Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.0 200 OK Date: Sun, 24 May 1998 22:36:43 GMT Server: Apache/1.3b6 PHP/3.0RC4 Connection: close Content-Type: text/html Connection closed by foreign host. [EMAIL PROTECTED] /tmp: >How-To-Repeat: see logs above >Fix: no >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]