-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb.config
More file actions
54 lines (53 loc) · 2.45 KB
/
web.config
File metadata and controls
54 lines (53 loc) · 2.45 KB
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
<?xml version="1.0"?>
<!--
注意: 除了手动编辑此文件以外,您还可以使用
Web 管理工具来配置应用程序的设置。可以使用 Visual Studio 中的
“网站”->“Asp.Net 配置”选项。
设置和注释的完整列表在
machine.config.comments 中,该文件通常位于
\Windows\Microsoft.Net\Framework\v2.x\Config 中
-->
<configuration>
<appSettings>
<add key="active_mode" value="true" />
<add key="penalty_mode" value="true" />
</appSettings>
<connectionStrings>
<add name="dbmldol" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|OnLine.mdb" />
</connectionStrings>
<system.web>
<customErrors mode="Off" />
<!--<customErrors mode="RemoteOnly" defaultRedirect="index.aspx">
<error statusCode="403" redirect="NoAccess.htm"/>
<error statusCode="404" redirect="FileNotFound.htm"/>
</customErrors>-->
<!--<machineKey validationKey="44EE2E6BACE5015D80DC881E1CF279B1D115A7740A70C858F0724461ABEC8AFEF76526C6FF26C18547AE5E4240BAC695A5FB8C6663FA7A94A27BC779377B5D23" decryptionKey="93EE54392CF8EBA0FFEB8E0A0BCA13ECDD2504DEBE9B7EDDDFBC9D7DC50ECC0E" validation="SHA1" decryption="AES"/>-->
<!--
设置 compilation debug="true" 可将调试符号插入
已编译的页面中。但由于这会
影响性能,因此只在开发过程中将此值
设置为 true。
-->
<sessionState mode="InProc" />
<compilation targetFramework="4.0" />
<httpRuntime maxRequestLength="30720" />
<!--
通过 <authentication> 节可以配置 ASP.NET 用来
识别进入用户的
安全身份验证模式。
-->
<!--
如果在执行请求的过程中出现未处理的错误,
则通过 <customErrors> 节可以配置相应的处理步骤。具体说来,
开发人员通过该节可以配置
要显示的 html 错误页
以代替错误堆栈跟踪。
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
<globalization fileEncoding="utf-8" />
</system.web>
</configuration>