2003-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / data / machine.config
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <configuration>
4
5         <configSections>
6                 <section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
7
8                 <section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
9                 <sectionGroup name="system.web">
10                         <section name="httpHandlers"
11                                  type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
12                         <section name="httpModules"
13                                  type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
14                         <section name="machineKey"
15                                  type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
16                         <section name="authentication"
17                                  type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
18                         <section name="authorization"
19                                  type="System.Web.Configuration.AuthorizationConfigHandler, System.Web" />
20                         <section name="globalization"
21                                  type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web" />
22                         <section name="sessionState"
23                                  type="System.Web.SessionState.SessionStateSectionHandler, System.Web" />
24                 </sectionGroup>
25         </configSections>
26         <system.web>
27                 <httpHandlers>
28                         <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
29                         <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
30                         <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
31                         <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
32                         <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
33                         <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
34                 </httpHandlers>
35                 <httpModules>
36                         <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
37                         <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
38                         <add name="SessionStateModule" type="System.Web.SessionState.SessionStateModule, System.Web" />
39                 </httpModules>
40                 <authentication mode="Forms">
41                         <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
42                                 <credentials passwordFormat="Clear">
43                                         <!--<user name="gonzalo" password="gonz"/>-->
44                                 </credentials>
45                         </forms>
46                 </authentication>
47                 <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
48                 <!-- Sample globalization settings
49                 <globalization  requestEncoding="iso-8859-1"
50                                 responseEncoding="iso-8859-1"
51                                 fileEncoding="iso-8859-1" 
52                                 culture="en-US"
53                                 uiculture="en-US" />
54                 -->
55                 <sessionState mode="InProc" />
56         </system.web>
57         
58         <appSettings>
59         <!--<add key="yourkey" value="your value" /> -->
60         <!--<remove key="a key defined higher in the hierarchy" /> -->
61         <!--<clear/> Removes all defined settings -->
62         </appSettings>
63         <system.diagnostics>
64                 <trace autoflush="false" indentsize="4" />
65         </system.diagnostics>
66 </configuration>
67