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