Reformatted one more Web.config file.

This commit is contained in:
Daniel Stolt
2016-01-22 20:41:30 +01:00
parent 16c687d8b1
commit abaef1d765

View File

@@ -1,25 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<appSettings> <system.webServer>
<add key="webpages:Enabled" value="false" /> <staticContent>
</appSettings> <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="7.00:00:00" />
<system.web> </staticContent>
<httpHandlers> <handlers accessPolicy="Script,Read">
<!-- iis6 - for any request in this location, return via managed static file handler --> <!-- For any request to a file exists on disk, return it via native http module. AccessPolicy="Script" above is to allow for a managed 404 page. -->
<add path="*" verb="*" type="System.Web.StaticFileHandler" /> <add name="StaticFile" path="*" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />
</httpHandlers> </handlers>
</system.web> </system.webServer>
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="7.00:00:00" />
</staticContent>
<handlers accessPolicy="Script,Read">
<!--
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="*" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />
</handlers>
</system.webServer>
</configuration> </configuration>