httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lior Hammer" <l...@lior.ath.cx>
Subject Re: Problem with CGI
Date Mon, 03 Jun 2002 01:27:22 GMT
Oops...
fixing some mistakes...
----- Original Message -----
From: "Lior Hammer" <lior@lior.ath.cx>
To: <users@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@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


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


Mime
View raw message