Advertisement
Guest User

Web.config

a guest
Apr 23rd, 2016
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.93 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
  5. </configSections>
  6. <connectionStrings>
  7. <add name="Db_Tank75ConnectionString" connectionString="Data Source=COZINHA\SQLEXPRESS;Initial Catalog=Db_Tank75;Persist Security Info=True;User ID=sa;Password=123456" providerName="System.Data.SqlClient" />
  8. </connectionStrings>
  9. <appSettings>
  10. <!--server-->
  11. <add key="ServerID" value="4" />
  12. <add key="ReqPath" value="C:\inetpub\wwwroot\request\" />
  13. <add key="FakeIp" value="127.0.0.1" /><!--IP Giả Nhập Bậy Cũng Được-->
  14. <add key="FakePort" value="113" /><!--port Giả Nhập Bậy Cũng Được-->
  15. <add key="LanguagePath" value="./bin/Languages/Language-vn.txt" />
  16. <!--beginIllegalcharacters-->
  17. <add key="IllegalDirectory" value="./Illegalcharacters" />
  18. <add key="IllegalCharacters" value="./Illegalcharacters/Illegalcharacters.txt" />
  19. <!--endIllegalcharacters-->
  20. <add key="CountRecord" value="false" />
  21. <add key="countDb" value="Data Source=COZINHA\SQLEXPRESS;Initial Catalog=Db_Count;Persist Security Info=True;User ID=sa;Password=123456" />
  22. <add key="conString" value="Data Source=COZINHA\SQLEXPRESS;Initial Catalog=Db_Tank75;Persist Security Info=True;User ID=sa;Password=123456" />
  23. <add key="privateKey" value="&lt;RSAKeyValue>&lt;Modulus>zRSdzFcnZjOCxDMkWUbuRgiOZIQlk7frZMhElQ0a7VqZI9VgU3+lwo0ghZLU3Gg63kOY2UyJ5vFpQdwJUQydsF337ZAUJz4rwGRt/MNL70wm71nGfmdPv4ING+DyJ3ZxFawwE1zSMjMOqQtY4IV8his/HlgXuUfIHVDK87nMNLc=&lt;/Modulus>&lt;Exponent>AQAB&lt;/Exponent>&lt;P>7lzjJCmL0/unituEcjoJsZhUDYajgiiIwWwuh0NlCZElmfa5M6l8H+Ahd9yo7ruT6Hrwr4DAdrIKP6LDmFhBdw==&lt;/P>&lt;Q>3EFKHt4FcDiZXRBLqYZaNSmM1KDrrU97N3CtEDCYS4GimmFOGJhmuK3yGfp/nYLcL2BTKyOZLSQO+/nAjRp2wQ==&lt;/Q>&lt;DP>SFdkkGsThuiPdrMcxVYb7wxeJiTApxYKOznL/T1VAsxMbyfUGXvMshfh0HDlzF6diycUuQ8IWn26YonRdwECDQ==&lt;/DP>&lt;DQ>xR9x1NpkB6HAMHhLHzftODMtpYc4Jm5CGsYvPZQgWUN2YbDAkmajWJnlWbbFzBS4N3aAONWtW6cv+ff2itKqgQ==&lt;/DQ>&lt;InverseQ>oyJzP0Sn+NgdNRRc7/cUKkbbbYaNxkDLDvKLDYMKV6+gcDce85t/FGfaTwkuYQNFqkrRBtDYjtfGsPRTGS6Mow==&lt;/InverseQ>&lt;D>wM33JNtzUSRwdmDWdZC4BuOYa2vJoD0zc0bNI4x0ml2oyAWdUCMcBfKEds/6i1T6s2e91d2dcJ/aI27o22gO/sfNg3tsr7uYMiUuhSjniqBDB/zyUVig29E4qdfuY1GHxTE8zurroY8mgGEB0aLj+gE0yX9T7sDFkY0QYRqJnwE=&lt;/D>&lt;/RSAKeyValue>" />
  24. <!--active-->
  25. <!-- <add key="BoyVisualizeItem" value="arm,hair,face,cloth,hat"/>
  26. <add key="GrilVisualizeItem" value="arm,hair,face,cloth,hat"/> -->
  27. <add key="BoyVisualizeItem" value="7008,3158,6103,5160,1142;3158,3107,3116,3121;6103,6102,6105,6109;5160,5112,5102,5103" />
  28. <add key="GrilVisualizeItem" value="7008,3244,6204,5276,1214;3244,3204,3205,3206;6202,6203,6204,6205;5276,5203,5204,5205" />
  29. <add key="ValidDate" value="0" />
  30. <add key="DefaultMoney" value="1000" />
  31. <add key="DefaultGold" value="1000" />
  32. <add key="DefaultGiftToken" value="100000" />
  33. <!--interface-->
  34. <!--beginExitGameTransit-->
  35. <!-- add key="SiteEffective" value="1|A|B"/ -->
  36. <add key="ExitURL" value="http://127.0.0.1:9101/userlogin.aspx" />
  37. <add key="ExitURL_a" value="http://127.0.0.1:9101/userlogin.aspx?username={0}&amp;site={1}" />
  38. <add key="ExitURL_b" value="http://127.0.0.1:9101/userlogin.aspx?username={0}&amp;site={1}" />
  39. <!--endExitGameTransit-->
  40. <!--beginPayTransit-->
  41. <add key="PayURL" value="http://127.0.0.1:9101/userlogin.aspx" />
  42. <add key="PayURL_a" value="http://www.google.com?username={0}&amp;site={1}" />
  43. <add key="PayURL_51wan" value="http://passport1.51wan.com/game/topayment.php?Name=ddt&amp;who=0&amp;serverid=182&amp;sign=cd16a2e8f5b01fe239285044ea43120c" />
  44. <!--endPayTransit-->
  45. <!--beginfavoriteTransit-->
  46. <add key="FavoriteUrl" value="http://127.0.0.1:850/login.htm" />
  47. <add key="FavoriteUrl_a" value="http://127.0.0.1:9101/userlogin.aspx?username={0}&amp;site={1}" />
  48. <add key="FavoriteUrl_b" value="http://127.0.0.1:9101/userlogin.aspx?username={0}&amp;site={1}" />
  49. <!--endfavoriteTransit-->
  50. <add key="InterName" value="SevenRoad" />
  51. <add key="LoginKey" value="QY-16-WAN-0668-2555555-7ROAD-dandantang-love777" />
  52. <add key="LoginKey_a" value="aaaa-16-WAN-0668-2555555-7ROAD-dandantang-love777" />
  53. <add key="KeyWord" value="u98dio3u87098#$FerojOIUS34#d3h79*"/>
  54. <add key="LoginIP" value="127.0.0.1|127.0.0.1|127.0.0.1|127.0.0.1|127.0.0.1|" />
  55. <add key="LoginUrl" value="http://127.0.0.1/request/CreateLogin.aspx" />
  56. <add key="PHP_Key" value="3-7-XKWk888-YYxKOGwAng888sidnn-654ZJHBZghdjsa8888" />
  57. <add key="m_key" value="lkirwf897+22#b1trm5814z5ql=498j5" />
  58. <add key="m_iv" value="741952jhaeyg66#cs!9hjv817mxc7@8y" />
  59. <!--<add key="ChargeKey" value="QY-16-WAN-0668-2555555-7ROAD-dandantang-love777"/>-->
  60. <add key="ChargeKey" value="QY-16-WAN-0668-2555555-7ROAD-dandantang-love777" />
  61. <add key="ChargeKey_a" value="aaaaa-16-WAN-0668-2555555-7ROAD-dandantang-love777" />
  62. <add key="ChargeIP" value="" />
  63. <add key="AdminIP" value="127.0.0.1|127.0.0.1|127.0.0.1|id.gunnyzing.vn" />
  64. <!--Begin:SentReward-->
  65. <add key="SentRewardIP" value="127.0.0.1|127.0.0.1|127.0.0.1|id.gunnyzing.vn" />
  66. <add key="SentRewardKey" value="asdfgh" />
  67. <add key="SentRewardTimeSpan" value="1" />
  68. <!--End:SentReward-->
  69. <add key="MustSex" value="true" />
  70. <!--log-->
  71. <!--PIdID-->
  72. <add key="PId" value="1" />
  73. <!--DIdID-->
  74. <add key="DId" value="1" />
  75. <!--SIdID-->
  76. <add key="SId" value="10" />
  77. <!--LogPath-->
  78. <add key="LogPath" value="C:\GameLog" />
  79. <!-- LogInterval-->
  80. <add key="LogInterval" value="5" />
  81. <add key="LoginSessionTimeOut" value="30" />
  82. <!--friend interface of bbs-->
  83. <add key="FriendInterface" value="http://ddt.the9.com/getfriendlist.php?uid={0}" />
  84. </appSettings>
  85. <system.web>
  86. <!--
  87. Set compilation debug="true" to insert debugging
  88. symbols into the compiled page. Because this
  89. affects performance, set this value to true only
  90. during development.
  91. -->
  92. <compilation debug="true" targetFramework="4.0">
  93. </compilation>
  94. <!--
  95. The <authentication> section enables configuration
  96. of the security authentication mode used by
  97. ASP.NET to identify an incoming user.
  98. -->
  99. <authentication mode="Windows" />
  100. <!--
  101. The <customErrors> section enables configuration
  102. of what to do if/when an unhandled error occurs
  103. during the execution of a request. Specifically,
  104. it enables developers to configure html error pages
  105. to be displayed in place of a error stack trace.
  106.  
  107. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
  108. <error statusCode="403" redirect="NoAccess.htm" />
  109. <error statusCode="404" redirect="FileNotFound.htm" />
  110. </customErrors>
  111. -->
  112. <customErrors mode="Off"></customErrors>
  113. <webServices>
  114. <protocols>
  115. <add name="HttpGet" />
  116. <add name="HttpPost" />
  117. </protocols>
  118. </webServices>
  119. <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" /></system.web>
  120. <log4net>
  121. <root>
  122. <level value="Debug" />
  123. <appender-ref ref="ErrorLogFile" />
  124. </root>
  125. <appender name="ErrorLogFile" type="log4net.Appender.RollingFileAppender">
  126. <file value="./logs/Error.log" />
  127. <appendToFile value="false" />
  128. <maxSizeRollBackups value="10" />
  129. <maximumFileSize value="1MB" />
  130. <staticLogFileName value="true" />
  131. <Layout type="log4net.Layout.PatternLayout">
  132. <param name="ConversionPattern" value="%date - [%thread] - %-5p - %c - %message%newline" />
  133. </Layout>
  134. <Threshold value="ERROR" />
  135. </appender>
  136. </log4net>
  137. <system.serviceModel>
  138. <bindings>
  139. <netTcpBinding>
  140. <binding name="NetTcpBinding_ICenterService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions" hostNameComparisonMode="StrongWildcard" listenBacklog="10" maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10" maxReceivedMessageSize="65536">
  141. <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
  142. <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
  143. <security mode="None">
  144. <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
  145. <message clientCredentialType="Windows" />
  146. </security>
  147. </binding>
  148. </netTcpBinding>
  149. </bindings>
  150. <client>
  151. <endpoint address="net.tcp://127.0.0.1:2109/" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_ICenterService" contract="CenterService.ICenterService" name="NetTcpBinding_ICenterService" />
  152. </client>
  153. </system.serviceModel>
  154. <system.webServer>
  155. <directoryBrowse enabled="false" />
  156. <modules runAllManagedModulesForAllRequests="true" />
  157. </system.webServer>
  158. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement