www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject Re: general/7869: malformed header from script
Date Thu, 14 Jun 2001 16:49:37 GMT
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]


Synopsis: malformed header from script

State-Changed-From-To: open-closed
State-Changed-By: marc
State-Changed-When: Thu Jun 14 09:49:33 PDT 2001
State-Changed-Why:
"HTTP/1.0 401 Unauthorized" is a HTTP header, it is not a
valid header for a CGI script to output, so Apache is doing exactly what it should be doing.
 I do not know
why PHP is behaving differently; perhaps it is compiled as a module on the Unix system or
perhaps it is setup to change the header to a valid one.  

In any case, there is nothing Apache can or should do about this.  Only nph- scripts (see
the docs) are allowed to output the HTTP status line, other scripts need to use "Status:"
to set the status.


Mime
View raw message