🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #56633

Re: Post: Method Not Implemented

#56633
From: Martin Visser
Date: Wed, 22 Jan 1997 00:00
45 lines
2302 bytes
David Pile wrote:
> 
> I have recently installed Apache on a stand alone machine so that I can
> test my CGI scripts. Upon execution of the submit button the browser
> responds as follows, "Method Not Implemented: Post to /cgi-bin/cform.cgi
> not supported". I have configured Apache such that files of .cgi
> extension are accepted as CGI scripts and permission to execute CGI
> scripts in that directory is on (Options ExecCGI). This looks like a
> permission problem with the method "post", but I can't find any
> documentation regarding to the configuration of such things.
> 
> David Pile
> Email: pile@woofie.brisnet.org.au

This is probably not the correct newsgroup for this discussion, try 
comp.infosystems.www.servers.(unix|misc), however the porblem is 
probably with your form. 

There are 2 methods to send form information to CGI programs, one is 
called GET, the other POST. This is setup in the METHOD attribute of the 
FORM tag. I think you'll find that the script doesn't support POST 
method, only GET (which is the default). (BTW try writing your scripts 
using POST, they tend to be less problematic in the long run, rather 
than changing the METHOD to GET).

You *may* have configured Apache to deny POST  (with <Limit POST>..) but 
I doubt it.

Martin



-- 
: Martin Visser
: BHP Steel - Flat Products Division 
: Engineering Technical Services - Computer Systems
: PO Box 1854 Wollongong NSW 2500, AUSTRALIA
: A.C.N. 000 019 625
: Phone     +61-42-753852
: Fax       +61-42-754141
: Email (Work) visser.martin.mc@bhp.com.au
:       (Home) mvisser@hinet.net.au
: WWW   (Work) http://wwwet.sppdwol.bhp.com.au/~mvisser
:       (Home) http://www.hinet.net.au/~mvisser
Technical Details
Message-ID: <32E5B1A7.18A1@bhp.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <32E566B5.FFCAB84@woofie.brisnet.org.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,44ab17d9a1ca8869
X-Google-Attributes: gid102983,public
From: Martin Visser <visser.martin.mc@bhp.com.au>
Subject: Re: Post: Method Not Implemented
Date: 1997/01/22
Message-ID: <32E5B1A7.18A1@bhp.com.au>
X-Deja-AN: 211395594
references: <32E566B5.FFCAB84@woofie.brisnet.org.au>
to: David Pile <pile@woofie.brisnet.org.au>
content-type: text/plain; charset=us-ascii
organization: BHP Steel - FPD
mime-version: 1.0
newsgroups: aus.computers.linux
x-mailer: Mozilla 2.0 (Macintosh; I; 68K)