2003-05-30 Zoltan Varga <vargaz@freemail.hu>
[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                 <sectionGroup name="system.net">
26                         <section name="connectionManagement"
27                                  type="System.Net.Configuration.ConnectionManagementHandler, System" />
28                 </sectionGroup>
29         </configSections>
30         <system.net>
31                 <connectionManagement>
32                         <add address="*" maxconnection="2" />
33                 </connectionManagement>
34         </system.net>
35         <system.web>
36                 <httpHandlers>
37                         <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
38                         <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
39                         <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
40                         <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
41                         <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
42                         <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
43                 </httpHandlers>
44                 <httpModules>
45                         <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
46                         <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
47                         <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
48                 </httpModules>
49                 <authentication mode="Forms">
50                         <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
51                                 <credentials passwordFormat="Clear">
52                                         <!--<user name="gonzalo" password="gonz"/>-->
53                                 </credentials>
54                         </forms>
55                 </authentication>
56                 <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
57                 <!-- Sample globalization settings
58                 <globalization  requestEncoding="iso-8859-1"
59                                 responseEncoding="iso-8859-1"
60                                 fileEncoding="iso-8859-1" 
61                                 culture="en-US"
62                                 uiculture="en-US" />
63                 -->
64                 <sessionState mode="InProc" />
65         </system.web>
66         
67         <appSettings>
68         <!--<add key="yourkey" value="your value" /> -->
69         <!--<remove key="a key defined higher in the hierarchy" /> -->
70         <!--<clear/> Removes all defined settings -->
71         </appSettings>
72         <system.diagnostics>
73                 <trace autoflush="false" indentsize="4" />
74         </system.diagnostics>
75 </configuration>
76