Have u added the directory to access.conf?
Look at it and you'll know what i mean...its pretty
straighforward.

Vicky
--- "Lakshmi B. G." <[EMAIL PROTECTED]> wrote:
> 
>  I have a cgi script and a web form in HTML format.
>  I am using post method to submit the form.
> > >
> > > While submitting I am getting the following
> error.
> > >
> > > Method Not Allowed
> > >
> > > The requested method POST is not allowed for the
> URL
> > > /umeshTest/cgi-bin/mail_form.cgi.
> > 
> > Are you about to post the form with a GET?  Also,
> is there a .htaccess
> > file
> > under cgi-bin directory?
> > 
> 
> 755 permission is alresdy set
> I am using POST Method only, GET method also I tried
> an dit worked
> there is no .htaccess file under cgi-bin directory
> 
> I have added the following lines in  httpd.conf 
> 
> AddHandler cgi-script .cgi
> ScriptAlias /cgi-bin/ /umeshTest/cgi-bin/
> <Directory /home/httpd/html/umeshTest/cgi-bin>
> Options ExecCGI
> SetHandler cgi-script
> </Directory>
> 
> now it is giving the following error
> 
> Forbidden
> 
> You don't have permission to access
> /umeshTest/cgi-bin/mail_form.cgi on
> this server.
> 
> 
>
-----------------------------------------------------------------------
> LIH is all for free speech.  But it was created for
> a purpose - to help
> people discuss issues about installing and running
> Linux.  If your
> messages are counterproductive to this purpose, your
> privileges to
> submit messages can and will be revoked.


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com

-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to