httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] CGI Not working
Date Sat, 16 Nov 2002 23:49:17 GMT

On Sat, 16 Nov 2002, Aaron Axelsen wrote:

> I installed apache 2.0.43 and whenever I try to run a script I get the
> following errors:
> [Sat Nov 16 17:45:57 2002] [error] [client] Premature end
> of script headers:
> I have run this script on other systems, so it must be something
> specific to my system

Go to the directory containing and type
Most likely, this will fail, which means something is wrong with the
script.  Some likely culprits:
- Not pointing to the correct location for perl on the first line.
- Bad dos->unix transfer, resulting in messed-up line-endings.

If the script succeeds from the command line, the most likely explanation
is an suexec config problem.  Find and read your suexec log file.

See also:


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message