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.
136 lines
7.3 KiB
136 lines
7.3 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
有关如何配置 ASP.NET 应用程序的详细消息,请访问
|
|
http://go.microsoft.com/fwlink/?LinkId=169433
|
|
-->
|
|
<configuration>
|
|
<connectionStrings>
|
|
<!--MySql数据库连接-->
|
|
<!--<add name="MySqlConnString" connectionString="server=172.24.100.246;port=3306;user=smartcamp;password=C@mp_Smart#2022; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
|
|
<!--<add name="MySqlConnString" connectionString="server=172.28.70.132;port=6033;user=smartcamp;password=C@mp_Smart#2022; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
|
|
<add name="MySqlConnString" connectionString="server=192.168.31.31;port=3306;user=root;password=123456; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;Old Guids=true;" />
|
|
<!--<add name="MySqlConnString" connectionString="server=192.168.31.31;port=3306;user=root;password=123456; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;Old Guids=true;Pooling=false;allowPublicKeyRetrieval=true;" />-->
|
|
<!--<add name="MySqlConnString" connectionString="server=172.28.70.132;port=6033;user=smartcamp;password=C@mp_Smart#2022; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
|
|
<!--<add name="MySqlConnString" connectionString="server=localhost;port=3306;user=root;password=root; database=smartcamp20220819;SslMode=None;Allow User Variables=True;Charset=utf8;Old Guids=true;Pooling=false;allowPublicKeyRetrieval=true;" />-->
|
|
<!--<add name="MySqlConnString" connectionString="server=113.62.161.206;port=3306;user=root;password=smartcamp; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;Old Guids=true;Pooling=false;allowPublicKeyRetrieval=true;" />-->
|
|
</connectionStrings>
|
|
<appSettings>
|
|
<!--value即是程序集名称,也是命名空间名称-->
|
|
<!--<add key="DataAccess" value="FangYar.SQLServerDAL"/>-->
|
|
<add key="DataAccess" value="FangYar.OracleDAL" />
|
|
<add key="APP" value="0001" />
|
|
<!--系统初始密码-->
|
|
<add key="InitPassword" value="111" />
|
|
<!--允许上传的文件类型-->
|
|
<add key="UploadFileType" value="jpg,png,gif,bmp,zip,rar,7z,doc,docx,xls,xlsx,ppt,pptx,pdf,txt" />
|
|
<!--DB end-->
|
|
<!-- 设置是否记录操作日志:0、记录;其他、不记录 -->
|
|
<add key="IsOperationLogDebug" value="0" />
|
|
</appSettings>
|
|
<!--
|
|
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
|
|
|
可在 <httpRuntime> 标记上设置以下特性。
|
|
<system.Web>
|
|
<httpRuntime targetFramework="4.5" />
|
|
</system.Web>
|
|
-->
|
|
<system.web>
|
|
<authentication mode="Forms">
|
|
<forms name=".SessionCookieZY" loginUrl="~/login/index.html" defaultUrl="~/index.html" protection="All" timeout="52560" path="/" requireSSL="false" slidingExpiration="true" enableCrossAppRedirects="false" cookieless="UseDeviceProfile" domain="" />
|
|
</authentication>
|
|
<compilation debug="true" targetFramework="4.7.2" />
|
|
<pages validateRequest="false" enableViewState="false" enableEventValidation="false" enableViewStateMac="false" controlRenderingCompatibilityVersion="4.0" />
|
|
<httpRuntime maxQueryStringLength="2097151" maxRequestLength="2048000000" requestValidationMode="2.0" />
|
|
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:11992" stateNetworkTimeout="40" timeout="20" />
|
|
</system.web>
|
|
<system.serviceModel>
|
|
<bindings>
|
|
<basicHttpBinding>
|
|
<binding name="cwsServiceSoapBinding" />
|
|
<binding name="cwsServiceSoapBinding1" />
|
|
</basicHttpBinding>
|
|
</bindings>
|
|
<client />
|
|
</system.serviceModel>
|
|
<system.webServer>
|
|
<security>
|
|
<requestFiltering>
|
|
<requestLimits maxAllowedContentLength="2147483647" maxQueryString="2147483647" />
|
|
</requestFiltering>
|
|
</security>
|
|
<modules runAllManagedModulesForAllRequests="true" />
|
|
<defaultDocument>
|
|
<files>
|
|
<clear />
|
|
<add value="index.html" />
|
|
<add value="login.html" />
|
|
<add value="Default.htm" />
|
|
<add value="Default.asp" />
|
|
<add value="index.htm" />
|
|
<add value="iisstart.htm" />
|
|
</files>
|
|
</defaultDocument>
|
|
<staticContent>
|
|
<remove fileExtension=".fpf" />
|
|
<mimeMap fileExtension=".fpf" mimeType="text/html" />
|
|
<mimeMap fileExtension=".s3m" mimeType="audio/x-mod" />
|
|
</staticContent>
|
|
<rewrite>
|
|
<rules>
|
|
<rule name="nginx/(.*)">
|
|
<match url="nginx/(.*)" />
|
|
<action type="Rewrite" url="https://portal.anddrive.cn/{R:1}" />
|
|
</rule>
|
|
</rules>
|
|
</rewrite>
|
|
</system.webServer>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="NPOI" publicKeyToken="0df73ec7942b34e1" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-2.5.6.0" newVersion="2.5.6.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="NPOI.OOXML" publicKeyToken="0df73ec7942b34e1" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-2.5.6.0" newVersion="2.5.6.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="NPOI.OpenXmlFormats" publicKeyToken="0df73ec7942b34e1" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-2.5.6.0" newVersion="2.5.6.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.3.3.11" newVersion="1.3.3.11" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-8.0.33.0" newVersion="8.0.33.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.9.0.0" newVersion="1.9.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-3.26.1.0" newVersion="3.26.1.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="K4os.Compression.LZ4.Streams" publicKeyToken="2186fa9121ef231d" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.3.8.0" newVersion="1.3.8.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
</configuration>
|