2003-10-05 Sebastien Pouliot <spouliot@videotron.ca>
[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="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web" />
68                         <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
69                         <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
70                         <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
71                         <add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web" />
72                         <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
73                         <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
74                 </httpHandlers>
75                 <httpModules>
76                         <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
77                         <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
78                         <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
79                 </httpModules>
80                 <authentication mode="Forms">
81                         <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
82                                 <credentials passwordFormat="Clear">
83                                         <!--<user name="gonzalo" password="gonz"/>-->
84                                 </credentials>
85                         </forms>
86                 </authentication>
87                 <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
88                 <!-- Sample globalization settings
89                 <globalization  requestEncoding="iso-8859-1"
90                                 responseEncoding="iso-8859-1"
91                                 fileEncoding="iso-8859-1" 
92                                 culture="en-US"
93                                 uiculture="en-US" />
94                 -->
95                 <sessionState mode="InProc" />
96                 <webServices>
97                         <protocols>
98                                 <add name="HttpSoap"/>
99                                 <add name="HttpPost"/>
100                                 <add name="HttpGet"/>
101                                 <add name="Documentation"/>
102                         </protocols>
103                         <wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
104                 </webServices>
105         </system.web>
106         
107         <appSettings>
108         <!--<add key="yourkey" value="your value" /> -->
109         <!--<remove key="a key defined higher in the hierarchy" /> -->
110         <!--<clear/> Removes all defined settings -->
111         </appSettings>
112         <system.diagnostics>
113                 <trace autoflush="false" indentsize="4" />
114         </system.diagnostics>
115         <system.drawing>
116         </system.drawing>
117 </configuration>
118
119