This is because
IIS take /scripts/ as static content and POST
to static content returns 405.
even when the scripts is default doc, it will still
return the error. you need to specify the full path
with target script name.
--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
Please respond to newsgroups only ...
"Dmitriy" <anonymous DeleteThis @discussions.microsoft.com> wrote in message
news:0b2101c3ba82$6ba18c50$a501280a@phx.gbl...
> POST requests are finally working. I've disabled write
> access for all the web site's properties. I've also
> checked MIME global settings. I found out I have .php
> and .phtml files associated as text/html. After I removed
> those associations, POST request would go through. Also,
> I've set execute permissions to "Scripts only". HOWEVER,
> there's still a problem: it's ok if I make a post request
> to file index.php (for example, <form method="post"
> action="/script/index.php">), but if I set the action
> parameter to /scripts/, it will still give me HTTP 405
> error. Isn't /scripts/ action should pull index.php file
> by default? There IS index.php file in the list of Default
> Documents. Thanks you for your help.
>
> Dmitriy<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Re3: HTTP 405 when using POST requests