You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@znep.com> on 1998/02/25 06:32:30 UTC

mod_cgi/1867: [error] malformed header from script (fwd)

Now that nph- and non-nph scripts are practically the same internally, is
it worthwhile automatically handling scripts that output nph- headers?

ie. look for HTTP/ as the first line or whatever.

---------- Forwarded message ----------
Date: 25 Feb 1998 05:00:53 -0000
From: Tim Lewis <ag...@aggravator.net>
To: apbugs@hyperreal.org
Subject: mod_cgi/1867: [error] malformed header from script


>Number:         1867
>Category:       mod_cgi
>Synopsis:       [error] malformed header from script
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Feb 24 21:10:00 PST 1998
>Last-Modified:
>Originator:     aggravator@aggravator.net
>Organization:
apache
>Release:        1.3b Win95
>Environment:
Win95 Pentium 133 32meg ram
>Description:
When running CGI counter.exe(commands provided by 
http://home.t-online.de/home/trojan/indexe.htm)
<IMG SRC="cgi-bin/counter.exe?key=index.html&style=1">,
I get, "[Tue Feb 24 19:37:03 1998] [error] malformed header from script.
Bad header=HTTP/1.0 200 OK: c:/apache/cgi-bin/counter.exe"
When I run the same program on ZB server, it works fine.
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]