httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Morland" <chad.morl...@inquent.com>
Subject Re: [users@httpd] Re: newbie's apache , internal server error, please help
Date Thu, 12 Dec 2002 22:19:50 GMT
Check your spelling...

> use CGI ':standrard';




-CM
----- Original Message -----
From: "eric lin" <fsshl@centurytel.net>
To: "Rodent of Unusual Size" <Ken.Coar@Golux.Com>
Cc: <users@httpd.apache.org>; <debian-user@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


Mime
View raw message