2003-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / data / machine.config
index 643ec8d5f426240e482814909b5f43433d415eff..581b363978631609b9c296d520d080400718ee91 100644 (file)
@@ -5,32 +5,53 @@
        <configSections>
                <section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
 
+               <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>
        </configSections>
        <system.web>
                <httpHandlers>
-                       <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory" />
-                       <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler" />
-                       <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler" />
-                       <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler" />
-                       <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler" />
-                       <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler" />
+                       <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, 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="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" />-->
+                       <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
+                       <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
                </httpModules>
                <authentication mode="Forms">
                        <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
                                <credentials passwordFormat="Clear">
                                        <!--<user name="gonzalo" password="gonz"/>-->
                                </credentials>
+                       </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>
@@ -38,5 +59,8 @@
        <!--<remove key="a key defined higher in the hierarchy" /> -->
        <!--<clear/> Removes all defined settings -->
        </appSettings>
+       <system.diagnostics>
+               <trace autoflush="false" indentsize="4" />
+       </system.diagnostics>
 </configuration>