httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Rob Hartill)
Subject Re: CGI scripts don't work - "premature end of header"
Date Tue, 18 Jun 1996 12:36:48 GMT

Oh dear.

It's not yet clear if we intend to support inetd in the long term.

We'll look into this.


>CGI scripts all fail with "Premature end of script headers" for me with
>with Apache 1.1b4.  They worked in 1.1.b2.
>I tracked this far enough to find that a call to cleanup_for_exec() in
>function cgi_child_stuff() in module mod_cgi closes the standard
>output file, which the CGI script needs to deliver its response to the
>server.  Removing the cleanup_for_exec() makes CGI scripts work again.
>This is on Linux 1.2.13 with Apache launched by inetd.
>Bryan Henderson                                    Phone 408-227-6803
>San Jose, California

Rob Hartill (
The Internet Movie Database (IMDb)
           ...more movie info than you can poke a stick at.

View raw message