Return-Path: Delivered-To: apmail-apache-bugdb-archive@apache.org Received: (qmail 60313 invoked by uid 500); 14 Jun 2001 13:20:08 -0000 Mailing-List: contact apache-bugdb-help@apache.org; run by ezmlm Precedence: bulk Reply-To: apache-bugdb@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-bugdb@apache.org Received: (qmail 60095 invoked by uid 501); 14 Jun 2001 13:20:01 -0000 Resent-Date: 14 Jun 2001 13:20:01 -0000 Resent-Message-ID: <20010614132001.60094.qmail@apache.org> Resent-From: submit@bugz.apache.org (GNATS Filer) Resent-To: apache-bugdb@apache.org Resent-Cc: apache-bugdb@apache.org Resent-Reply-To: submit@bugz.apache.org, bjarne@sourcetech.se Received: (qmail 56108 invoked by uid 501); 14 Jun 2001 13:17:58 -0000 Message-Id: <20010614131758.56107.qmail@apache.org> Date: 14 Jun 2001 13:17:58 -0000 From: Bjarne Ingelsson Reply-To: bjarne@sourcetech.se To: submit@bugz.apache.org X-Send-Pr-Version: 3.110 Subject: general/7869: malformed header from script >Number: 7869 >Category: general >Synopsis: malformed header from script >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Jun 14 06:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: bjarne@sourcetech.se >Release: 1.3.20 >Organization: apache >Environment: Win2K Pro SP2 Apache 1.3.20 PHP 4.0.4 pl1 >Description: I get "Internal Server Error" and the error-log states: "malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: c:/drivers/php/php.exe" when running a PHP script which requests HTTP Authentication. I was running 1.3.19 when I encountered the problem, and an upgrade to 1.3.20 did not solve my problem. I copied the file (a very small test-script, see below) to a Linux machine where it worked like a dream. (I get the message box promping me for a user/password) In the Linux (RH 6.2) machine I'm running 1.3.12 / PHP4.0.4pl1. PHP Code snip: Error bla bla try again\n"; exit; } else // A password is entered... { // We dont get this far } ?> >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]