2003-07-24 Ben Maurer <bmaurer@users.sourceforge.net>
[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                         <section name="webServices"
25                                  type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services" />
26                 </sectionGroup>
27                 <sectionGroup name="system.net">
28                         <section name="settings"
29                                  type="System.Net.Configuration.NetConfigurationHandler, System" />
30                         <section name="connectionManagement"
31                                  type="System.Net.Configuration.ConnectionManagementHandler, System" />
32                         <section name="authenticationModules"
33                                  type="System.Net.Configuration.NetAuthenticationModuleHandler, System" />
34                         <section name="defaultProxy"
35                                  type="System.Net.Configuration.DefaultProxyHandler, System" />
36                         <section name="webRequestModules"
37                                  type="System.Net.Configuration.WebRequestModuleHandler, System" />
38                 </sectionGroup>
39                 <section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
40         </configSections>
41         <system.net>
42                 <connectionManagement>
43                         <add address="*" maxconnection="2" />
44                 </connectionManagement>
45                 <authenticationModules>
46                         <add type="System.Net.BasicClient" />
47                 </authenticationModules>
48                 <defaultProxy>
49                         <proxy />
50                         <!-- bypassonlocal and proxyaddress are ok -->
51                         <!-- usessystemdefault is not supported -->
52                 </defaultProxy>
53                 <webRequestModules>
54                         <add prefix="http" type="System.Net.HttpRequestCreator, System" />
55                         <add prefix="https" type="System.Net.HttpRequestCreator, System" />
56                         <add prefix="file" type="System.Net.FileWebRequestCreator, System" />
57                 </webRequestModules>
58                 <settings>
59                         <ipv6 enabled="false"/>
60                 </settings>
61         </system.net>
62         <system.web>
63                 <httpHandlers>
64                         <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
65                         <add verb="*" path="*.asmx" validate="false"
66                              type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services" />
67                         <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
68                         <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
69                         <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
70                         <add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web" />
71                         <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
72                         <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
73                 </httpHandlers>
74                 <httpModules>
75                         <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
76                         <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
77                         <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
78                 </httpModules>
79                 <authentication mode="Forms">
80                         <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
81                                 <credentials passwordFormat="Clear">
82                                         <!--<user name="gonzalo" password="gonz"/>-->
83                                 </credentials>
84                         </forms>
85                 </authentication>
86                 <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
87                 <!-- Sample globalization settings
88                 <globalization  requestEncoding="iso-8859-1"
89                                 responseEncoding="iso-8859-1"
90                                 fileEncoding="iso-8859-1" 
91                                 culture="en-US"
92                                 uiculture="en-US" />
93                 -->
94                 <sessionState mode="InProc" />
95                 <webServices>
96                         <protocols>
97                                 <add name="HttpSoap"/>
98                                 <add name="HttpPost"/>
99                                 <add name="HttpGet"/>
100                                 <add name="Documentation"/>
101                         </protocols>
102                         <wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
103                 </webServices>
104         </system.web>
105         
106         <appSettings>
107         <!--<add key="yourkey" value="your value" /> -->
108         <!--<remove key="a key defined higher in the hierarchy" /> -->
109         <!--<clear/> Removes all defined settings -->
110         </appSettings>
111         <system.diagnostics>
112                 <trace autoflush="false" indentsize="4" />
113         </system.diagnostics>
114         <system.drawing>
115         </system.drawing>
116 </configuration>
117
118