From the IIS MMC, are you allowing executables on the folder?
In other words, if .htm is a static file, it makes no sense to POST to a
.htm because it's not as if the static file will do anything with the POST'd
dynamic data, so IIS returns 405. However, if the URL is an .ASP file or
.EXE/.DLL AND IIS is configured to allow scripts/executables execution
permission, THEN IIS considers the URLs OK to POST to.
I suspect that you either:
1. Did not declare the CGI page extension to be a ScriptMap
2. Did not allow Scripts/Executables execution option in the directory
containing the CGI page.
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"ontheRock" <melly.o...@gmail.com> wrote in message
news:1105540137.7...@c13g2000cwb.googlegroups.com...
I am having the same issue here with that 405 error. We are running
IIS on a Win 2003 Server. I checked all the NT file persmissions to
make sure they were correct as well as I made sure that web permissions
has scripting and executables execution option for the directory. The
only part that I don't understand where to turn it on is declaring the
CGI page extension to be a ScriptMap. Could you please elaborate on
how I set that up.
Thanks
Matt
--
mbstone99
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message875349.html
POST to a CGI or ISAPI should work by default as soon as you allow "Scripts
and Executables", have the right ACLs, and enabled the CGI EXE/ ISAPI DLL in
Web Service Extensions. POST to a Script need the additional configuration
in the "mappings" tab (which declares which CGI/ISAPI runs for the given
extension, at which point it is the same case as POST'ing to a CGI/ISAPI).
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"mbstone99" <mbstone9...@mail.webservertalk.com> wrote in message
news:mbstone9...@mail.webservertalk.com...