2003-05-30 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / data / machine.config
index 13c96d08856fb6510c8dfb0c2655eb8e32b01769..7eece2e2cd6f80d8240ad9e2ab6230c792ffb1f0 100644 (file)
@@ -7,12 +7,31 @@
 
                <section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
                <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="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" />
+               </sectionGroup>
+               <sectionGroup name="system.net">
+                       <section name="connectionManagement"
+                                type="System.Net.Configuration.ConnectionManagementHandler, System" />
                </sectionGroup>
        </configSections>
+       <system.net>
+               <connectionManagement>
+                       <add address="*" maxconnection="2" />
+               </connectionManagement>
+       </system.net>
        <system.web>
                <httpHandlers>
                        <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
@@ -24,6 +43,8 @@
                </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" />
                </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" 
+                               culture="en-US"
+                               uiculture="en-US" />
+               -->
+               <sessionState mode="InProc" />
        </system.web>
        
        <appSettings>