You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/06/18 14:36:48 UTC
Re: CGI scripts don't work - "premature end of header"
Oh dear.
It's not yet clear if we intend to support inetd in the long term.
We'll look into this.
regards,
rob
>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 (robh@imdb.com)
The Internet Movie Database (IMDb) http://www.imdb.com/
...more movie info than you can poke a stick at.