You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.1 KiB

4 years ago
4 years ago
4 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <system.web>
  4. <compilation targetFramework="4.0" debug="true" />
  5. <customErrors mode="Off" />
  6. <globalization fileEncoding="utf-8" />
  7. <httpRuntime targetFramework="4.0" maxRequestLength="2147483647" executionTimeout="3600" enableVersionHeader="false" requestPathInvalidCharacters="" />
  8. <sessionState mode="Off" />
  9. <pages controlRenderingCompatibilityVersion="4.0" />
  10. </system.web>
  11. <system.webServer>
  12. <handlers>
  13. <add name="HttpHandler" path="*" verb="*" type="Apewer.Web.ApiProgram" />
  14. </handlers>
  15. <httpErrors errorMode="Detailed" existingResponse="PassThrough">
  16. <clear/>
  17. </httpErrors>
  18. <modules runAllManagedModulesForAllRequests="true">
  19. <add name="HttpModule" type="Apewer.Web.ApiProgram" />
  20. </modules>
  21. <security>
  22. <requestFiltering allowDoubleEscaping="true">
  23. <fileExtensions>
  24. <clear />
  25. </fileExtensions>
  26. <hiddenSegments>
  27. <clear />
  28. </hiddenSegments>
  29. <requestLimits maxAllowedContentLength="2147483647" />
  30. </requestFiltering>
  31. </security>
  32. </system.webServer>
  33. </configuration>