Web.config
上传用户:cha0314
上传日期:2014-03-02
资源大小:12522k
文件大小:1k
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <appSettings>
- <add key="ConnectionString" value="server=(local);database=UDS;User Id=sa;pwd=sasasa;"/>
- <!-- <add key="ConnectionString" value="server=xm2003;database=uds_dongzhou_net2.0;User Id=sa;pwd=;"/>-->
- <add key="IndexConnectionString" value="Provider=MSIDXS; Data Source=UDS;"/>
- </appSettings>
- <system.web>
- <compilation defaultLanguage="c#" debug="true">
- <assemblies>
- </assemblies>
- </compilation>
- <customErrors defaultRedirect="Error.aspx" mode="Off"/>
- <authentication mode="Forms">
- <forms name="UDSAuth" loginUrl="SubModule/Login/index.aspx" protection="None" timeout="216000" path="/"/>
- </authentication>
- <globalization requestEncoding="gb2312" responseEncoding="gb2312" fileEncoding="gb2312" culture="zh-cn"/>
- <httpRuntime maxRequestLength="102400" useFullyQualifiedRedirectUrl="true" executionTimeout="300"/>
- </system.web>
- <!-- set secure paths -->
- <location path="Inc">
- <system.web>
- <authorization>
- <deny users="?"/>
- </authorization>
- </system.web>
- </location>
- <location path="SubModule">
- <system.web>
- <authorization>
- <deny users="?"/>
- </authorization>
- </system.web>
- </location>
- </configuration>