Azure web.config cleanup

This commit is contained in:
Erik Oppedijk
2013-11-17 16:32:37 +01:00
committed by Sebastien Ros
parent 5dbe016022
commit cd270493d1

View File

@@ -10,8 +10,10 @@
</sectionGroup> </sectionGroup>
<section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" /> <section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" />
</configSections> </configSections>
<appSettings> <appSettings>
<add key="webpages:Enabled" value="false"/> <add key="webpages:Enabled" value="false"/>
<add key="webpages:Version" value="3.0.0.0"/>
<add key="log4net.Config" value="Config\log4net.config"/> <add key="log4net.Config" value="Config\log4net.config"/>
</appSettings> </appSettings>
<system.web.webPages.razor> <system.web.webPages.razor>
@@ -28,6 +30,7 @@
</namespaces> </namespaces>
</pages> </pages>
</system.web.webPages.razor> </system.web.webPages.razor>
<dataCacheClients> <dataCacheClients>
<dataCacheClient name="DefaultCacheClient" useLegacyProtocol="false" connectionPool="true" maxConnectionsToServer="20"> <dataCacheClient name="DefaultCacheClient" useLegacyProtocol="false" connectionPool="true" maxConnectionsToServer="20">
<autoDiscover isEnabled="true" identifier="Orchard.Azure.Web" /> <autoDiscover isEnabled="true" identifier="Orchard.Azure.Web" />
@@ -117,21 +120,10 @@
<add namespace="System.Collections.Generic"/> <add namespace="System.Collections.Generic"/>
<add namespace="Orchard.Mvc.Html"/> <add namespace="Orchard.Mvc.Html"/>
</namespaces> </namespaces>
</pages> </pages>
<httpHandlers>
<clear/>
<add path="*" verb="*" type="System.Web.HttpNotFoundHandler"/>
</httpHandlers>
<httpModules>
<add name="WarmupHttpModule" type="Orchard.WarmupStarter.WarmupHttpModule, Orchard.WarmupStarter, Version=1.7.1, Culture=neutral"/>
</httpModules>
</system.web> </system.web>
<system.webServer> <system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="false" /> <modules runAllManagedModulesForAllRequests="false" />
<handlers accessPolicy="Script"> <handlers accessPolicy="Script">
<!-- Clear all handlers, prevents executing code file extensions or returning any file contents. --> <!-- Clear all handlers, prevents executing code file extensions or returning any file contents. -->