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:
Renaud Paquay
2010-11-13 11:38:33 -08:00
parent d6760392e0
commit a80b790cce

View File

@@ -3,7 +3,7 @@
<system.web>
<httpHandlers>
<!-- 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>
<!--
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.
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>
</system.webServer>
<runtime>