Re: Problem with CGI
Lior Hammer <lior <at> lior.ath.cx>
2002-06-03 01:27:22 GMT
Oops...
fixing some mistakes...
----- Original Message -----
From: "Lior Hammer" <lior <at> lior.ath.cx>
To: <users <at> httpd.apache.org>
Sent: Sunday, June 02, 2002 6:17 PM
Subject: Problem with CGI
> 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/perl
>
> What is the problem could be?
> Thankyou.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
> For additional commands, e-mail: users-help <at> httpd.apache.org
>