develooper Front page | perl.beginners | Postings from February 2002

RE: Netscape or Perl error?

Thread Previous | Thread Next
From:
Daniel Falkenberg
Date:
February 21, 2002 22:05
Subject:
RE: Netscape or Perl error?
Message ID:
3ACA70B144BD6D45B994CAC2CA4B9F98017CE2@opal.vintek.local
Hi Dave,

My apologize for not getting back to the list sooner.  I have figured
out exactly what my problem was.  I didn't add the following into my
HTML code...

$nameofscript = "perlscript.pl";

<form method="post" action="$nameofscript">

Netscape didn't automatically use the script it was executing.  Ohh
well... at least my script is *finally* cross platform :).

Thx,

Dan

-----Original Message-----
From: Dave Benware [mailto:Bompa@Townisp.com]
Sent: Friday, 22 February 2002 4:22 PM
To: Beginners perl
Subject: Re: Netscape or Perl error?


Daniel Falkenberg wrote:
> 
> Hi All,
> 
> I am just testing my Perl CGI script on Netscape browser at the moment
> and I am getting a weird error occur.  I can execute my script fine
but
> when I go to use a link in the script such as...
> 
> http://mydomain.com/cgi-bin/script?words=test&action=check_data
> 
> In the URL bar of Netscape I get the following...
> 
> http://mydomain.com/cgi-bin/?words=test&action=check_data
> 
> and of coarse gives me a 403 error: Permission denied error.
> 
> I am just wondering why it seems to chop off the name of the script?
If
> I enter the following in manually...
> 
> http://mydomain.com/cgi-bin/script?words=test&action=check_data
> 
> and replace test with what ever I like the script will return exactly
as
> I wanted it too?
> 
> Has any one seen this before?
> 
> Thx,
> 
> Dan


I'm probably way off here, but are you ending the name of your
script with .cgi?

Bompa

-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About