IIS7.0默认限制上传文件大小为30000000字节(约28.6M)。打开C:\Windows\System32\inetsrv\config\schema\IIS_schema.xml,找到如下内容:
<element name="requestLimits">
<attribute name="maxAllowedContentLength" type="uint" defaultValue="30000000" />
<attribute name="maxUrl" type="uint" defaultValue="4096" />
修改IIS7.0默认限制上传文件大小
最新推荐文章于 2024-03-04 13:46:20 发布