httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyle Dent <>
Subject Re: [users@httpd] Perl cgi problem on rh9 apache 2.0
Date Sat, 15 Nov 2003 22:38:39 GMT
On Sat, 15 Nov 2003, Brock Palen wrote:

> ok so i didnt notice the error log level i set to low,  i now get this
> [Sat Nov 15 16:35:33 2003] [error] [client] Premature end of script
> headers:

If you don't have any other errors besides that one, then your
Perl interpreter is not being invoked. That means there is
something wrong with your first line


If it works for you from the command line, but not from the web
server then it has something to do with the web server's context
and the perl binary located at /usr/bin. Do the permissions allow
the web server/cgi user to execute it? Does the server user have
read access along the entire path /usr/bin? Is your web server
running in a chroot?

One thing to try is to log in as the web user (you may have to
temporarily assign the account a password and shell) and try to
execute the script. This doesn't give you exactly the same
context as the web server, but it might uncover something.


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