httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lior Hammer" <>
Subject Problem with CGI
Date Mon, 03 Jun 2002 01:17:31 GMT
I have a littele problem with CGI under RedHat Linux 7.2 with Apache 1.3.22
i exec these commands:

mkdir /perl
ln -s /usr/bin/perl /perl/perl

Then, i added these lines to my httpd.conf:

ScriptAlias /perl_location/ "/perl/"
AddType application/x-httpd-prl .cgi .pl
Action application/x-httpd-prl "/perl_location/perl"

Then i restarted Apache.
When i went to a CGI URL, i got an "Internal Server Error" page, and in my
error log, i saw this line:

[Sun Jun  2 15:30:27 2002] [error] [client] Premature end of script
headers: /perl_location/perl

What is the problem could be?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message