【发布时间】:2014-10-07 14:32:53
【问题描述】:
我有一个在 IIS 下运行的应用程序。当我将具有相同配置的相同站点部署到使用 fastcgi 运行 nginx 的服务器时,当我尝试使用 PUT 命令访问 URL 时得到 404。我认为问题在于服务器不接受 PUT 作为有效动词。我尝试添加 webdav 配置as noted on SO previously。我设置了 nginx 和 fastcgi as advised by the mono project。我在 MVC 中的操作接受 PUT [HttpPut, HttpDelete]。如果我在同一个 URL 上执行 GET,我会得到 200 响应。
【问题讨论】: