首页 > 其他 > 详细

IIS 配置详解 请求长度限制调整

时间:2019-12-18 20:46:50      阅读:223      评论:0      收藏:0      [点我收藏+]

IIS 配置详解 请求长度限制调整
修改服务所在目录下的Web.config文件
1、configuration/system.web/httpRuntime@maxQueryStringLength 设置为"2097151"

如:<httpRuntime maxRequestLength="1073741824" executionTimeout="60000" maxQueryStringLength="2097151"/>


2、 configuration/system.webServer/security/requestFiltering/requestLimits@maxQueryString ="2097151"

如:
<security>
<requestFiltering>
<requestLimits maxUrl="10999" maxQueryString="2097151" />
</requestFiltering>
</security>

IIS 配置详解 请求长度限制调整

原文:https://www.cnblogs.com/shengfly/p/12061785.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!