Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 70927 invoked by uid 500); 2 Jun 2002 15:12:54 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 70916 invoked from network); 2 Jun 2002 15:12:53 -0000 Received: from unknown (HELO lior.ath.cx) (212.199.171.38) by daedalus.apache.org with SMTP; 2 Jun 2002 15:12:53 -0000 Received: from hammer (unknown [10.0.0.3]) by lior.ath.cx (Postfix) with SMTP id 96BD1C909 for ; Sun, 2 Jun 2002 18:14:57 +0300 (IDT) Message-ID: <006b01c20a9c$7003d330$0300000a@hammer> From: "Lior Hammer" To: Subject: Problem with CGI Date: Sun, 2 Jun 2002 18:17:31 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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