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