Apache / CGI / Perl

From: Didier Godefroy <dg_at_ulysium.net>
Date: Sat, 19 Sep 1998 23:26:03 -0400

Hi,

I have a user on the system who is having trouble with a Perl CGI script under
Apache 1.2.4, the script executes but then returns an error 500. It worked fine
several times earlier today, after resolving a few permission problems, but
without changing anything, it stopped working and the error log only says this:

reason: Premature end of script headers

without any details, and I made sure a ScriptLog line is in the apache config
file, but the log file isn't created, and even if I "touch" it, nothing gets
written to it.
I'm sure I could better trace the problem if the errors were reported, but
adding the -w switch for perl in the script didn't change anything.
Is there an other line to add in the apache config to make it log the cgi errors?

-- 
Didier Godefroy
mailto:dg_at_ulysium.net
Received on Sun Sep 20 1998 - 03:29:14 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT