2004-01-21 Martin Baulig <martin@ximian.com>
[mono.git] / data / machine.config
index 1a5b7c36f78796591800931a3a7030fcae4bfe8c..b3bf1b20e93946dcf66a3eeb45094c2460029cef 100644 (file)
@@ -3,29 +3,98 @@
 <configuration>
 
        <configSections>
-               <section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
-
+               <section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
                <section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
+               <section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System" allowLocation="false"/>
                <sectionGroup name="system.web">
-                       <section name="httpHandlers" type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
-                       <section name="httpModules" type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
-                       <section name="machineKey" type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
-                       <section name="authentication" type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
-                       <section name="authorization" type="System.Web.Configuration.AuthorizationConfigHandler, System.Web" />
+                       <section name="httpHandlers"
+                                type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
+                       <section name="httpModules"
+                                type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
+                       <section name="machineKey"
+                                type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
+                       <section name="authentication"
+                                type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
+                       <section name="authorization"
+                                type="System.Web.Configuration.AuthorizationConfigHandler, System.Web" />
+                       <section name="globalization"
+                                type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web" />
+                       <section name="sessionState"
+                                type="System.Web.SessionState.SessionStateSectionHandler, System.Web" />
+                       <section name="trace"
+                                type="System.Web.Configuration.TraceConfigurationHandler, System.Web" />
+                       <section name="webServices"
+                                type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services" />
+                       <section name="webControls"
+                                type="System.Web.Configuration.WebControlsSectionHandler, System.Web" />
+                       <section name="compilation"
+                                type="System.Web.Configuration.CompilationConfigurationHandler, System.Web" />
+                       <section name="httpRuntime"
+                                type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web" />
+                       <section name="customErrors"
+                                type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web" />
+                       <section name="pages"
+                                type="System.Web.Configuration.PagesConfigurationHandler, System.Web" />
+               </sectionGroup>
+               <sectionGroup name="system.net">
+                       <section name="settings"
+                                type="System.Net.Configuration.NetConfigurationHandler, System" />
+                       <section name="connectionManagement"
+                                type="System.Net.Configuration.ConnectionManagementHandler, System" />
+                       <section name="authenticationModules"
+                                type="System.Net.Configuration.NetAuthenticationModuleHandler, System" />
+                       <section name="defaultProxy"
+                                type="System.Net.Configuration.DefaultProxyHandler, System" />
+                       <section name="webRequestModules"
+                                type="System.Net.Configuration.WebRequestModuleHandler, System" />
                </sectionGroup>
+               <section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
        </configSections>
+       <system.net>
+               <connectionManagement>
+                       <add address="*" maxconnection="2" />
+               </connectionManagement>
+               <authenticationModules>
+                       <add type="System.Net.BasicClient" />
+                       <add type="System.Net.DigestClient" />
+                       <add type="System.Net.NtlmClient" />
+               </authenticationModules>
+               <defaultProxy>
+                       <proxy />
+                       <!-- bypassonlocal and proxyaddress are ok -->
+                       <!-- usessystemdefault is not supported -->
+               </defaultProxy>
+               <webRequestModules>
+                       <add prefix="http" type="System.Net.HttpRequestCreator, System" />
+                       <add prefix="https" type="System.Net.HttpRequestCreator, System" />
+                       <add prefix="file" type="System.Net.FileWebRequestCreator, System" />
+               </webRequestModules>
+               <settings>
+                       <ipv6 enabled="false"/>
+               </settings>
+       </system.net>
        <system.web>
                <httpHandlers>
+                       <add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web" />
                        <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
+                       <add verb="*" path="*.asmx" validate="false"
+                            type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services" />
+                       <add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web" />
+                       <add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web" />
                        <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
                        <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
                        <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
+                       <add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web" />
+               <add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
+               <add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
                        <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
                        <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
                </httpHandlers>
                <httpModules>
                        <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
                        <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
+                       <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
+                       <add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web" />
                </httpModules>
                <authentication mode="Forms">
                        <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
                        </forms>
                </authentication>
                <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
+               <globalization  requestEncoding="utf-8"
+                               responseEncoding="utf-8"
+                               fileEncoding="utf-8"/>
+               <!--
+                               culture="en-US"
+                               uiculture="en-US" />
+               -->
+               <sessionState mode="InProc" />
+               <webServices>
+                       <protocols>
+                               <add name="HttpSoap"/>
+                               <add name="HttpPost"/>
+                               <add name="HttpGet"/>
+                               <add name="Documentation"/>
+                       </protocols>
+                       <wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
+               </webServices>
+               <webControls clientScriptsLocation="/web_scripts" />
+               <compilation debug="false" defaultLanguage="c#">
+                       <compilers>
+                       <compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
+                                 type="Microsoft.CSharp.CSharpCodeProvider, System" />
+                       <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
+                                 warningLevel="1" compilerOptions=""
+                                 type="Microsoft.VisualBasic.VBCodeProvider, System" />
+                       </compilers>
+                       <assemblies>
+                               <!--<add assembly="mscorlib" /> -->
+                               <add assembly="System" />
+                               <add assembly="System.Xml" />
+                               <add assembly="System.Data" />
+                               <add assembly="System.Web" />
+                               <add assembly="System.Web.Services" />
+                               <add assembly="System.Drawing" />
+                               <add assembly="*" /> <!-- Add assemblies in bin directory -->
+                       </assemblies>
+               </compilation>
+               <httpRuntime executionTimeout="90"
+                            maxRequestLength="4096"
+                            useFullyQualifiedRedirectUrl="false"
+                            minFreeThreads="8"
+                            minLocalRequestFreeThreads="4"
+                            appRequestQueueLimit="100" />
+               <pages  buffer="true"
+                       enableSessionState="true"
+                       autoEventWireup="true"
+                       validateRequest="true" />
        </system.web>
        
+       <system.runtime.remoting>
+               <application>
+                       <channels>
+                               <channel ref="http client" displayName="http client (delay loaded)" delayLoadAsClientChannel="true" />
+                               <channel ref="tcp client" displayName="tcp client (delay loaded)" delayLoadAsClientChannel="true" />
+                       </channels>
+               </application>
+               <channels>
+                       <channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting" />
+                       <channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting" />
+                       <channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting" />
+                       <channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting" />
+                       <channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting" />
+                       <channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting" />
+               </channels>
+                       <channelSinkProviders>
+                               <clientProviders>
+                                       <formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting" />
+                                       <formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting" />
+                               </clientProviders>
+                               <serverProviders>
+                                       <formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting" />
+                                       <formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting" />
+                                       <provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting" />
+                               </serverProviders>
+                       </channelSinkProviders>
+       </system.runtime.remoting>
+       
        <appSettings>
        <!--<add key="yourkey" value="your value" /> -->
        <!--<remove key="a key defined higher in the hierarchy" /> -->
        <system.diagnostics>
                <trace autoflush="false" indentsize="4" />
        </system.diagnostics>
+        <system.drawing>
+        </system.drawing>
 </configuration>
 
+