mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#18543: Removing unnecessary web.config
Work Item: 18543 --HG-- branch : 1.x
This commit is contained in:
@@ -162,11 +162,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Views\DatePickerLocalization.cshtml" />
|
<None Include="Views\DatePickerLocalization.cshtml" />
|
||||||
<Content Include="web.config" />
|
<Content Include="web.config" />
|
||||||
</ItemGroup>
|
<Content Include="Views\Web.config" />
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="Styles\images\Web.config">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Content>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup />
|
<ItemGroup />
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
|
|||||||
@@ -1,25 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<configuration>
|
|
||||||
<appSettings>
|
|
||||||
<add key="webpages:Enabled" value="false" />
|
|
||||||
</appSettings>
|
|
||||||
<system.web>
|
|
||||||
<httpHandlers>
|
|
||||||
<!-- iis6 - for any request in this location, return via managed static file handler -->
|
|
||||||
<add path="*" verb="*" type="System.Web.StaticFileHandler" />
|
|
||||||
</httpHandlers>
|
|
||||||
</system.web>
|
|
||||||
<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>
|
|
||||||
Reference in New Issue
Block a user