Skip to content

Commit

Permalink
Update Attachments/Web.config
Browse files Browse the repository at this point in the history
  • Loading branch information
bleroy committed Nov 17, 2011
1 parent 36a5a76 commit 494daf9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Attachments/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,14 @@
<system.web>
<httpHandlers>
<!-- iis6 - for any request in this location, return via managed static file handler -->
<clear/>
<add path="*" verb="*" type="System.Web.StaticFileHandler" />
</httpHandlers>
</system.web>
<system.webServer>
<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="*.zip" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />
<add name="StaticFile" path="*.nupkg" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />
<clear/>
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />
</handlers>
</system.webServer>
</configuration>

0 comments on commit 494daf9

Please sign in to comment.