This repository has been archived by the owner on Aug 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Web.config
71 lines (71 loc) · 2.91 KB
/
Web.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<compilation debug="true" batch="false" targetFramework="4.0" />
<httpRuntime relaxedUrlToFileSystemMapping="true" executionTimeout="2147483647" enableVersionHeader="true"
maxRequestLength="2147483647" maxQueryStringLength="2097151" maxUrlLength="2097151"
useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" requestPathInvalidCharacters="" requestValidationMode="2.0" />
<pages validateRequest="false">
<namespaces>
<add namespace="System.Globalization" />
<add namespace="System.IO" />
<add namespace="System.Net" />
<add namespace="Mygod.Skylark" />
<add namespace="Mygod.Xml.Linq" />
</namespaces>
</pages>
<customErrors mode="Off" redirectMode="ResponseRewrite">
<error statusCode="401" redirect="~/Forbidden.aspx?Code=401" />
<error statusCode="403" redirect="~/Forbidden.aspx" />
</customErrors>
<caching>
<outputCache enableOutputCache="false" enableFragmentCache="false"
sendCacheControlHeader="false" omitVaryStar="false" />
</caching>
</system.web>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="Default.aspx" />
</files>
</defaultDocument>
<security>
<requestFiltering allowDoubleEscaping="true">
<requestLimits maxAllowedContentLength="2147483647" maxQueryString="2097151" maxUrl="2097151" />
<fileExtensions>
<clear />
</fileExtensions>
</requestFiltering>
</security>
<modules runAllManagedModulesForAllRequests="true">
<remove name="UrlRoutingModule" />
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</modules>
<handlers>
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd"
type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
<httpErrors errorMode="Custom">
<remove statusCode="401" subStatusCode="-1" />
<remove statusCode="403" subStatusCode="-1" />
<error statusCode="401" path="/Forbidden.aspx?Code=401" responseMode="ExecuteURL" />
<error statusCode="403" path="/Forbidden.aspx" responseMode="ExecuteURL" />
</httpErrors>
<staticContent>
<remove fileExtension=".log" />
<mimeMap fileExtension=".log" mimeType="text/x-log" />
</staticContent>
<caching enabled="false" />
</system.webServer>
<location path="Data">
<system.web>
<authorization>
<deny users="*, ?" />
</authorization>
</system.web>
</location>
</configuration>