mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Defining default file size limit for IIS 7 and greater (64 MB)
--HG-- branch : 1.x
This commit is contained in:
@@ -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"/>
|
||||
|
Reference in New Issue
Block a user