CGI scripts are meant to be launched by the web server, not from the
commandline. It sounds like this CGI is one of them (it detects that it is
missing the correct method and complained), so please configure the CGI
correctly on its supported web server and make a POST request.
If you need instructions, please refer to the provider of your CGI script
for them, in particular their support for running on IIS 6.0 and any
additional setup necessary. For security reasons, IIS6 default
configuration will refuse to execute CGIs and refuse to allow CGIs to write
to the file system -- and it is your responsibility to open up the server
correctly (or CGI setup needs to configure its permissions correctly).
FYI: Many people have problems running CGI scripts, period, but it does not
mean this is a problem with IIS. Often, customers do not know how to
configure it correctly and fail to read clear instructions for both the CGI
and the web server.
Thus, It is no wonder that people have problems configuring CGI and
strangely, they blame it as an issue with IIS6. It's as if someone who
knows nothing about cars pops open the hood of the car, does some
"modifications" under the hood, and when the car fails to start, they blame
the manufacturer for not creating a trouble-free vehicle.
I don't know about you, but I'm not making any changes to my car unless I am
a mechanic, have a mechanic friend, or pay a mechanic to do it.
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"FD" <fd.RemoveThis@nospam.net> wrote in message
news:eRGhd83EFHA.1564@TK2MSFTNGP09.phx.gbl...
We have created a contact form on a webpage. It has a submit button which
writes a text file and then emails the text information via Form Mail. When
we ran this cgi program from the command prompt, we get the error that Form
Mail did not recognize the Post method. Is it possible that the problem may
be related to permissions? We "googled" this and found that other people
have problems running cgi scripts on IIS 6.0. Any help with this would be
greatly appreciated.
FD