Nick Kay wrote:

> At 22:00 08/11/99 -0700, you wrote:
> >I know this isn't a Mandrake specific question, but this is the best
> >resource for linux issues I've found.
> >I'm configuring Apache 1.3.6 to run CGI scripts. I keep getting a 500
> >internal server error. The error_log is saying that there's a premature
> >end of script headers.
> >Does anybody know what this is or is there a cgi forum I can go to?
>
> Do your cgi scripts run if you start them from a command line?
> Do your CGI scripts generate a correct HTML header?
> [ something like :-
>         Content-type: text/html\n\n
>         <HTML>
>         <body >
>
> A lot of people forget the "Content-type" part  ]

and especially the two '\n\n' to generate an empty line...

Some hints you'll find also in the log file:
mine are in /usr/local/apache/logs/error....  [I don't recall exactly]

>
>
> hih
> nick@nexnix

Reply via email to