machine.config 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
  5. <section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
  6. <section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System" allowLocation="false"/>
  7. <sectionGroup name="system.web">
  8. <section name="httpHandlers"
  9. type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
  10. <section name="httpModules"
  11. type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
  12. <section name="machineKey"
  13. type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
  14. <section name="authentication"
  15. type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
  16. <section name="authorization"
  17. type="System.Web.Configuration.AuthorizationConfigHandler, System.Web" />
  18. <section name="globalization"
  19. type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web" />
  20. <section name="sessionState"
  21. type="System.Web.SessionState.SessionStateSectionHandler, System.Web" />
  22. <section name="trace"
  23. type="System.Web.Configuration.TraceConfigurationHandler, System.Web" />
  24. <section name="webServices"
  25. type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services" />
  26. <section name="webControls"
  27. type="System.Web.Configuration.WebControlsSectionHandler, System.Web" />
  28. <section name="compilation"
  29. type="System.Web.Configuration.CompilationConfigurationHandler, System.Web" />
  30. <section name="httpRuntime"
  31. type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web" />
  32. <section name="customErrors"
  33. type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web" />
  34. <section name="pages"
  35. type="System.Web.Configuration.PagesConfigurationHandler, System.Web" />
  36. </sectionGroup>
  37. <sectionGroup name="system.net">
  38. <section name="settings"
  39. type="System.Net.Configuration.NetConfigurationHandler, System" />
  40. <section name="connectionManagement"
  41. type="System.Net.Configuration.ConnectionManagementHandler, System" />
  42. <section name="authenticationModules"
  43. type="System.Net.Configuration.NetAuthenticationModuleHandler, System" />
  44. <section name="defaultProxy"
  45. type="System.Net.Configuration.DefaultProxyHandler, System" />
  46. <section name="webRequestModules"
  47. type="System.Net.Configuration.WebRequestModuleHandler, System" />
  48. </sectionGroup>
  49. <section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
  50. </configSections>
  51. <system.net>
  52. <connectionManagement>
  53. <add address="*" maxconnection="2" />
  54. </connectionManagement>
  55. <authenticationModules>
  56. <add type="System.Net.BasicClient" />
  57. <add type="System.Net.DigestClient" />
  58. <add type="System.Net.NtlmClient" />
  59. </authenticationModules>
  60. <defaultProxy>
  61. <proxy />
  62. <!-- bypassonlocal and proxyaddress are ok -->
  63. <!-- usessystemdefault is not supported -->
  64. </defaultProxy>
  65. <webRequestModules>
  66. <add prefix="http" type="System.Net.HttpRequestCreator, System" />
  67. <add prefix="https" type="System.Net.HttpRequestCreator, System" />
  68. <add prefix="file" type="System.Net.FileWebRequestCreator, System" />
  69. </webRequestModules>
  70. <settings>
  71. <ipv6 enabled="false"/>
  72. </settings>
  73. </system.net>
  74. <system.web>
  75. <httpHandlers>
  76. <add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web" />
  77. <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
  78. <add verb="*" path="*.asmx" validate="false"
  79. type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services" />
  80. <add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web" />
  81. <add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web" />
  82. <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
  83. <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
  84. <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
  85. <add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web" />
  86. <add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
  87. <add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
  88. <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
  89. <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
  90. </httpHandlers>
  91. <httpModules>
  92. <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
  93. <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
  94. <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
  95. <add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web" />
  96. </httpModules>
  97. <authentication mode="Forms">
  98. <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
  99. <credentials passwordFormat="Clear">
  100. <!--<user name="gonzalo" password="gonz"/>-->
  101. </credentials>
  102. </forms>
  103. </authentication>
  104. <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
  105. <globalization requestEncoding="utf-8"
  106. responseEncoding="utf-8"
  107. fileEncoding="utf-8"/>
  108. <!--
  109. culture="en-US"
  110. uiculture="en-US" />
  111. -->
  112. <sessionState mode="InProc" />
  113. <webServices>
  114. <protocols>
  115. <add name="HttpSoap"/>
  116. <add name="HttpPost"/>
  117. <add name="HttpGet"/>
  118. <add name="Documentation"/>
  119. </protocols>
  120. <wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
  121. </webServices>
  122. <webControls clientScriptsLocation="/web_scripts" />
  123. <compilation debug="false" defaultLanguage="c#">
  124. <compilers>
  125. <compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
  126. type="Microsoft.CSharp.CSharpCodeProvider, System" />
  127. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
  128. warningLevel="1" compilerOptions=""
  129. type="Microsoft.VisualBasic.VBCodeProvider, System" />
  130. </compilers>
  131. <assemblies>
  132. <!--<add assembly="mscorlib" /> -->
  133. <add assembly="System" />
  134. <add assembly="System.Xml" />
  135. <add assembly="System.Data" />
  136. <add assembly="System.Web" />
  137. <add assembly="System.Web.Services" />
  138. <add assembly="System.Drawing" />
  139. <add assembly="*" /> <!-- Add assemblies in bin directory -->
  140. </assemblies>
  141. </compilation>
  142. <httpRuntime executionTimeout="90"
  143. maxRequestLength="4096"
  144. useFullyQualifiedRedirectUrl="false"
  145. minFreeThreads="8"
  146. minLocalRequestFreeThreads="4"
  147. appRequestQueueLimit="100" />
  148. <pages buffer="true"
  149. enableSessionState="true"
  150. autoEventWireup="true"
  151. validateRequest="true" />
  152. </system.web>
  153. <system.runtime.remoting>
  154. <application>
  155. <channels>
  156. <channel ref="http client" displayName="http client (delay loaded)" delayLoadAsClientChannel="true" />
  157. <channel ref="tcp client" displayName="tcp client (delay loaded)" delayLoadAsClientChannel="true" />
  158. </channels>
  159. </application>
  160. <channels>
  161. <channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting" />
  162. <channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting" />
  163. <channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting" />
  164. <channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting" />
  165. <channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting" />
  166. <channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting" />
  167. </channels>
  168. <channelSinkProviders>
  169. <clientProviders>
  170. <formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting" />
  171. <formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting" />
  172. </clientProviders>
  173. <serverProviders>
  174. <formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting" />
  175. <formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting" />
  176. <provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting" />
  177. </serverProviders>
  178. </channelSinkProviders>
  179. </system.runtime.remoting>
  180. <appSettings>
  181. <!--<add key="yourkey" value="your value" /> -->
  182. <!--<remove key="a key defined higher in the hierarchy" /> -->
  183. <!--<clear/> Removes all defined settings -->
  184. </appSettings>
  185. <system.diagnostics>
  186. <trace autoflush="false" indentsize="4" />
  187. </system.diagnostics>
  188. <system.drawing>
  189. </system.drawing>
  190. </configuration>