2004-01-21 Martin Baulig <martin@ximian.com>
[mono.git] / data / machine.config
index 0d9a170b0aaa2b518bedeeb6bc92e1dab1910d4d..b3bf1b20e93946dcf66a3eeb45094c2460029cef 100644 (file)
@@ -3,9 +3,9 @@
 <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" />
                                 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"
@@ -38,7 +48,7 @@
                        <section name="webRequestModules"
                                 type="System.Net.Configuration.WebRequestModuleHandler, System" />
                </sectionGroup>
-               <section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
+               <section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
        </configSections>
        <system.net>
                <connectionManagement>
@@ -46,6 +56,8 @@
                </connectionManagement>
                <authenticationModules>
                        <add type="System.Net.BasicClient" />
+                       <add type="System.Net.DigestClient" />
+                       <add type="System.Net.NtlmClient" />
                </authenticationModules>
                <defaultProxy>
                        <proxy />
        </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>
@@ -78,6 +94,7 @@
                        <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" />
-               <!-- Sample globalization settings
-               <globalization  requestEncoding="iso-8859-1"
-                               responseEncoding="iso-8859-1"
-                               fileEncoding="iso-8859-1" 
+               <globalization  requestEncoding="utf-8"
+                               responseEncoding="utf-8"
+                               fileEncoding="utf-8"/>
+               <!--
                                culture="en-US"
                                uiculture="en-US" />
                -->
                        <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" /> -->