[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Off topic abit



Yap file is executable and a valid perl program
i first make sure it runs from the prompt any other suggestions?

On Thu, 26 Feb 1998, Shlomi Fish wrote:

> On Wed, 25 Feb 1998, Yaniv Orenstein wrote:
> 
> > When i submit a request in cgi (perl) i get the following error
> > 
> > Method Not Allowed
> > 
> > The requested method POST is not allowed for the URL /~ucentral/getname.cgi.
> >
> 
> Have you made getname.cgi an executable file? Try 'chmod 755 getname.cgi'
> and also make sure that the first line in getname.cgi is:
> 
> #!/usr/bin/perl
> 
> Where "/usr/bin/perl" is a valid path for the perl interpreter.
> 
> 	Shlomi Fish
> 
> ----------------------------------------------------------------------
> Shlomi Fish        shlomif@t2.technion.ac.il 
> Home Page:         http://t2.technion.ac.il/~shlomif/
> Home E-mail:       shlomif@ibm.net
> 
> The American Lottery - All you need is a dollar and a dream. We will
> take the dollar, but you can keep the dream.
> 
> 
> 
>  
> > this is the html file:
> > <html>
> > <body>
> > <form method="POST" action="getname.cgi">
> > Input Text: <input type=text name="mytest1"><br>
> > <input type=submit value="submit">
> > <input type=reset value="reset">
> > 
> > </form>
> > </body>
> > </html>
> > 
> > 
> 
>