Defining default file size limit for IIS 7 and greater (64 MB)

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2013-07-19 16:44:06 -07:00
parent 379c3c063a
commit 2406c187a6

View File

@@ -45,7 +45,8 @@
</system.transactions>
<system.web>
<!--<trust level="Medium" originUrl="" />-->
<httpRuntime requestValidationMode="2.0" maxRequestLength="65536" />
<!-- Accept file uploads up to 64 Mb -->
<httpRuntime requestValidationMode="2.0" maxRequestLength="65536" />
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
@@ -142,6 +143,12 @@
</handlers>
<!-- Prevent IIS 7.0 from returning a custom 404/500 error page of its own -->
<httpErrors existingResponse="PassThrough"/>
<security>
<requestFiltering>
<!-- Accept file uploads up to 64 Mb -->
<requestLimits maxAllowedContentLength="67108864" />
</requestFiltering>
</security>
</system.webServer>
<runtime>
<gcServer enabled="true"/>