原文链接:https://jingyan.baidu.com/article/624e74594c678e34e8ba5aff.html
1、打开某一发布网站的配置编辑器
2、设置上传时间限制
3、设置上传文件大小限制
另一种方法:
直接在网站根目录建一个web.config文件
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="102400000" />
</requestFiltering>
</security>
</system.webServer>
<system.web>
<httpRuntime executionTimeout="1800" />
</system.web>
</configuration>
本文介绍如何通过编辑器设置网站的上传时间及文件大小限制,并提供了一种通过在网站根目录下创建web.config文件来实现相同功能的方法。
383

被折叠的 条评论
为什么被折叠?



