“405 method not allowed” in IIS7.5 for “PUT” method

后端 未结 20 2240
情深已故
情深已故 2020-11-28 02:15

I use WebClient type to upload *.cab files to my server. On the server side, I registered a HTTP handler for *.cab file with the PUT method as below:



        
20条回答
  •  忘掉有多难
    2020-11-28 03:09

    Another tip from me. I have used PHP + IIS, and the Handler Mappings for PHP did not have the PUT verb.

    Go to IIS Manager->Your site->Handler Mappings->PHPxx_via_FastCGI->Request Restrictions->Verbs, then add PUT.

    That's it!

提交回复
热议问题