httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lior Hammer" <l...@lior.ath.cx>
Subject Problem with CGI
Date Mon, 03 Jun 2002 01:17:31 GMT
Hello,
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 10.0.0.3] Premature end of script
headers: /perl_location/perl

What is the problem could be?
Thankyou.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message