Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 79695 invoked by uid 500); 16 Jan 2003 12:07:18 -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 79673 invoked from network); 16 Jan 2003 12:07:17 -0000 Received: from dsl-217-155-103-130.zen.co.uk (HELO lemonlainey.com) (217.155.103.130) by daedalus.apache.org with SMTP; 16 Jan 2003 12:07:17 -0000 Received: from WEBSERVER by lemonlainey.com with SMTP (MDaemon.PRO.v6.5.2.R) for ; Thu, 16 Jan 2003 12:06:22 +0000 Message-ID: <008601c2bd57$af1ef040$82679bd9@WEBSERVER> Reply-To: "Kevin Smith" From: "Kevin Smith" To: References: <003d01c2bd4a$ed0f7d00$1a01a8c0@sbvr.com> <1042739514.11053.52.camel@sundelbolong.1rstwap.com> Date: Thu, 16 Jan 2003 12:06:21 -0000 Organization: Netsmith Limited MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Authenticated-Sender: kevin@netsmith.ltd.uk X-Return-Path: kevin@netsmith.ltd.uk X-MDaemon-Deliver-To: users@httpd.apache.org X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] pl script error Hi, I'd thought I'd stay on this same subject as I have a similar problem. However, my perl binary is at #!/usr/bin/perl as well and is stated on the first line of the perl script. The problem seems to be with Apache config of ScriptAlias or so it seems. Here is the error log entry and the ScriptAlias Apache config entry. This perl does execute perfectly on the command line, so it's not a problem with the script. [error] (2)No Such file or directory: exec of /www/htdocs/www.iin.org/www/auctions_cgi/auction_list.pl failed [error] Premature end of script headers: /www/htdocs/www.iin.org/www/auctions_cgi/auction_list.pl This is inside a directive: ScriptAlias /auctions_cgi/ /www/htdocs/www.iin.org/auctions_cgi/ Why does the error log report no such file or directory, yet it seems to confirm that it did indeed try to exec the script?? Confusing huh? And yes the, directory is correct, I checked it a thousand times. ;) The script is also definitely been chmod 755. The browser just shows an "Internal Server Error"... Any ideas? Many thanks, Kevin ----- Original Message ----- From: "Erwien Samantha Y" To: "apache" Sent: Thursday, January 16, 2003 5:51 PM Subject: Re: [users@httpd] pl script error > > add header > #!/usr/local/bin/perl <--- (where perl binary instaled , #whereis perl) > > On Thu, 2003-01-16 at 10:34, system@eluminoustechnologies.com wrote: > > Hello All, > > > > I have installed perl scripts on my linux box (Apache). i have places > > the files in cgi-bin directory my virtualhost entries are correct the > > permissions are 755 on .pl files still i get the error "Premature End > > of Script Headers". > > Could anyone help me pls. > > > > Regards, > > > > Rob. > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org