Skip to content

Commit

Permalink
(GH-27) ensure changes to web.config on upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Feb 11, 2018
1 parent 3b991bb commit cbd4a44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SimpleChocolateyServer/Web.config.install.xdt
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@
<remove name="TRACEVerbHandler" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
<remove name="WebDAV" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
<add name="PowerShell-Integrated-4.0" path="*.ps1" verb="GET,HEAD" type="System.Web.UI.PageHandlerFactory" modules="ManagedPipelineHandler" preCondition="integratedMode,runtimeVersionv4.0" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
</handlers>
<staticContent xdt:Transform="InsertIfMissing">
<mimeMap fileExtension=".nupkg" mimeType="application/zip" xdt:Locator="Match(fileExtension)" xdt:Transform="InsertIfMissing" />
<remove fileExtension=".ps1" xdt:Locator="Match(fileExtension)" xdt:Transform="InsertIfMissing" />
</staticContent>
<modules runAllManagedModulesForAllRequests="true" xdt:Transform="InsertIfMissing">
<remove name="WebDAVModule" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
Expand Down

0 comments on commit cbd4a44

Please sign in to comment.