[plug] Apache problem

Paul Wilson hooker at opera.iinet.net.au
Sun Jan 2 11:42:36 WST 2000


> > I've got a problem with a CGI program written in C and running under
Apache
> > 1.3.6 and RedHat 6.0.  I've asked for advice over on the Apache mailing
list
> > and the relevant Usenet group but met a resounding silence (probably
> > Christmas-induced!), so I thought I'd stray a little from the topic here
and
> > ask the collective expertise of plug.
> >
> > When run from the command line, it works as expected, producing the
> > 'Content-type: text/html' header followed by a chunk of HTML.  When
called
> > via the CGI mechanism, I consistantly get Error 500 (Premature end of
script
> > headers) from Apache.  A trivial C program to output the mime-header
> > followed by a tiny piece of HTML works properly, but this thing refuses.
>
> Did you check the error log for your virtual host? STDERR from scripts is
> written there.

I did, and there's nothing but the error itself.

Paul



More information about the plug mailing list