PageRenderTime 49ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/Scripts/Web.config

#
Unknown | 21 lines | 21 code | 0 blank | 0 comment | 0 complexity | ab30714fbca2780b180682304df8ce0a MD5 | raw file
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <appSettings>
  4. <add key="webpages:Enabled" value="false" />
  5. </appSettings>
  6. <system.web>
  7. <httpHandlers>
  8. <!-- iis6 - for any request in this location, return via managed static file handler -->
  9. <add path="*" verb="*" type="System.Web.StaticFileHandler" />
  10. </httpHandlers>
  11. </system.web>
  12. <system.webServer>
  13. <handlers accessPolicy="Script,Read">
  14. <!--
  15. iis7 - for any request to a file exists on disk, return it via native http module.
  16. accessPolicy 'Script' is to allow for a managed 404 page.
  17. -->
  18. <add name="StaticFile" path="*" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />
  19. </handlers>
  20. </system.webServer>
  21. </configuration>