我们在配置ccflow的时候,经常遇到附件上传有时间&附件大小的限制,按照如下方法设置闲置。
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>
分类