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

Re: Netscape or Perl error?

Thread Previous
From:
Dave Benware
Date:
February 21, 2002 21:52
Subject:
Re: Netscape or Perl error?
Message ID:
3C75DC95.E17A56D1@Townisp.com
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

Thread Previous


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