2003-02-13 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                 </sectionGroup>
23         </configSections>
24         <system.web>
25                 <httpHandlers>
26                         <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
27                         <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
28                         <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
29                         <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
30                         <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
31                         <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
32                 </httpHandlers>
33                 <httpModules>
34                         <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
35                         <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
36                 </httpModules>
37                 <authentication mode="Forms">
38                         <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
39                                 <credentials passwordFormat="Clear">
40                                         <!--<user name="gonzalo" password="gonz"/>-->
41                                 </credentials>
42                         </forms>
43                 </authentication>
44                 <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
45                 <!-- Sample globalization settings
46                 <globalization  requestEncoding="iso-8859-1"
47                                 responseEncoding="iso-8859-1"
48                                 fileEncoding="iso-8859-1" 
49                                 culture="en-US"
50                                 uiculture="en-US" />
51                 -->
52         </system.web>
53         
54         <appSettings>
55         <!--<add key="yourkey" value="your value" /> -->
56         <!--<remove key="a key defined higher in the hierarchy" /> -->
57         <!--<clear/> Removes all defined settings -->
58         </appSettings>
59         <system.diagnostics>
60                 <trace autoflush="false" indentsize="4" />
61         </system.diagnostics>
62 </configuration>
63