mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
Fix web.config 500 error with IIS7
This is just a temporary fix as Theme.jpg files aren't served properly anymore --HG-- branch : dev
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<system.web>
|
<system.web>
|
||||||
<httpHandlers>
|
<httpHandlers>
|
||||||
<!-- iis6 - for any request in this location, return via managed static file handler -->
|
<!-- iis6 - for any request in this location, return via managed static file handler -->
|
||||||
<add path="*/Theme.png" verb="*" type="System.Web.StaticFileHandler" />
|
<!--<add path="*/Theme.png" verb="*" type="System.Web.StaticFileHandler" />-->
|
||||||
</httpHandlers>
|
</httpHandlers>
|
||||||
<!--
|
<!--
|
||||||
Enabling request validation in view pages would cause validation to occur
|
Enabling request validation in view pages would cause validation to occur
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
iis7 - for any request to a file exists on disk, return it via native http module.
|
iis7 - for any request to a file exists on disk, return it via native http module.
|
||||||
accessPolicy 'Script' is to allow for a managed 404 page.
|
accessPolicy 'Script' is to allow for a managed 404 page.
|
||||||
-->
|
-->
|
||||||
<add name="StaticFile" path="*/Theme.png" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />
|
<!--<add name="StaticFile" path="*/Theme.png" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />-->
|
||||||
</handlers>
|
</handlers>
|
||||||
</system.webServer>
|
</system.webServer>
|
||||||
<runtime>
|
<runtime>
|
||||||
|
Reference in New Issue
Block a user