[英]How do I Configure IIS to accept POST requests?
I know by default IIS doesn't accept post requests how can I change this setting.我知道默认情况下 IIS 不接受发布请求我该如何更改此设置。 Can someone walk me through changing this (step by step).. Please?
有人可以引导我改变这个(一步一步)..拜托?
If you are using IIS 6 and lower:如果您使用的是 IIS 6 及更低版本:
From inside the IIS management screen right click on your website or virtual directory.在 IIS 管理屏幕中,右键单击您的网站或虚拟目录。 Go to
Properties
then go to the Home Directory
or Virtual Directory
tab and click on the Configuration
button.转到“
Properties
”,然后转到“ Home Directory
”或“ Virtual Directory
”选项卡,然后单击“ Configuration
”按钮。 From there you can add/update extensions and what Verbs are accepted.从那里您可以添加/更新扩展名以及接受的动词。
If you are using IIS 7:如果您使用的是 IIS 7:
From inside the IIS management screen click on Handler Mappings
.从 IIS 管理屏幕中单击
Handler Mappings
。 You can add by clicking the links on the right side or double-click on an item to edit it.您可以通过单击右侧的链接添加或双击一个项目进行编辑。
If it's related to an asp.net app you might be able to set it in your web.config as described here .如果它与 asp.net 应用程序相关,您可以按照此处所述在 web.config 中进行设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.