You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chad Morland <ch...@inquent.com> on 2002/12/12 23:19:50 UTC

Re: [users@httpd] Re: newbie's apache , internal server error, please help

Check your spelling...

> use CGI ':standrard';




-CM
----- Original Message -----
From: "eric lin" <fs...@centurytel.net>
To: "Rodent of Unusual Size" <Ke...@Golux.Com>
Cc: <us...@httpd.apache.org>; <de...@lists.debian.org>
Sent: Friday, December 13, 2002 12:48 AM
Subject: [users@httpd] Re: newbie's apache , internal server error,
please help


>
>
> Rodent of Unusual Size wrote:
> > eric lin wrote:
> >
> >>[Thu Dec 12 19:55:46 2002] [error] (2)No such file or directory:
exec of
> >>/usr/lib/cgi-bin/entrance.pl failed
> >
> >
> > this usually means that the interpreter in the shebang line of
> > the script is incorrect.  or possibly that the script file
> > has dos line endings.
> >
> > what does 'ls -lag /usr/local/bin/perl' say?
> >
> > edit the script file ('vi entrance.pl'); does the status line
> > at the bottom say 'dos'?
> >
> >
> >>www:/home/fsshl# #!/usr/local/bin/perl
> >>bash: !/usr/local/bin/perl: event not found
> >
> >
> > no, *execute* the script, don't type it interactively.  that is,
> > try
> >
> > www:/home/fsshl# /usr/lib/cgi-bin/entrance.pl
>
>
> Thanks your hint on this
> so I change my .pl file to #!/usr/bin/perl which is my path in env
> so I tried hit submit bottom this time, the browser did not show
error,
> but it show a piece of white, that may be improve, but not what I want
>
> I want to colletec date from visiter and print it out
> (at least at beginning)
>
> my pl is
>
>
> #!/usr/bin/perl
>
> use strict;
>
> use CGI ':standrard';
>
> print "Content-type: text/html\n\n";
>
> foreach my $name (param()) {
>    my @cpu=param($name);
>    print "<p>The field with the NAME attribute euual to <b>
>          $name</b> had a VALUE equal to <b>@cpu</b></p>\n";
>          }
>
>
>
> Please help again
>
>
> >
> > instead.
>
>
> --
> Sincere Eric
> www.linuxspice.com
> linux pc for sale
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
Project.
> See <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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