machine.config 8.7 KB

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