You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Ralf S. Engelschall" <rs...@engelschall.com> on 1998/02/25 11:17:41 UTC

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

In article <Pi...@alive.znep.com> you wrote:

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

I personally like the idea because I often converted scripts to the ugly name
nph-xxx.cgi just to be able to output the headers. But the check should really
make sure the headers are correctly parsed and that we do not parse by mistake
some stuff as headers which aren't headers.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com