2003-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / data / machine.config
index ad870a28f4a9c31062f4777f226522890e716f83..581b363978631609b9c296d520d080400718ee91 100644 (file)
@@ -7,31 +7,51 @@
 
                <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>