added httpRuntime section
[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                 <section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
8                 <section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System" allowLocation="false"/>
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                         <section name="compilation"
29                                  type="System.Web.Configuration.CompilationConfigurationHandler, System.Web" />
30                         <section name="httpRuntime"
31                                  type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web" />
32                 </sectionGroup>
33                 <sectionGroup name="system.net">
34                         <section name="settings"
35                                  type="System.Net.Configuration.NetConfigurationHandler, System" />
36                         <section name="connectionManagement"
37                                  type="System.Net.Configuration.ConnectionManagementHandler, System" />
38                         <section name="authenticationModules"
39                                  type="System.Net.Configuration.NetAuthenticationModuleHandler, System" />
40                         <section name="defaultProxy"
41                                  type="System.Net.Configuration.DefaultProxyHandler, System" />
42                         <section name="webRequestModules"
43                                  type="System.Net.Configuration.WebRequestModuleHandler, System" />
44                 </sectionGroup>
45                 <section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
46         </configSections>
47         <system.net>
48                 <connectionManagement>
49                         <add address="*" maxconnection="2" />
50                 </connectionManagement>
51                 <authenticationModules>
52                         <add type="System.Net.BasicClient" />
53                 </authenticationModules>
54                 <defaultProxy>
55                         <proxy />
56                         <!-- bypassonlocal and proxyaddress are ok -->
57                         <!-- usessystemdefault is not supported -->
58                 </defaultProxy>
59                 <webRequestModules>
60                         <add prefix="http" type="System.Net.HttpRequestCreator, System" />
61                         <add prefix="https" type="System.Net.HttpRequestCreator, System" />
62                         <add prefix="file" type="System.Net.FileWebRequestCreator, System" />
63                 </webRequestModules>
64                 <settings>
65                         <ipv6 enabled="false"/>
66                 </settings>
67         </system.net>
68         <system.web>
69                 <httpHandlers>
70                         <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
71                         <add verb="*" path="*.asmx" validate="false"
72                              type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services" />
73                         <add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web" />
74                         <add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web" />
75                         <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
76                         <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
77                         <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
78                         <add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web" />
79                 <add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
80                 <add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
81                         <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
82                         <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
83                 </httpHandlers>
84                 <httpModules>
85                         <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
86                         <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
87                         <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
88                         <add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web" />
89                 </httpModules>
90                 <authentication mode="Forms">
91                         <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
92                                 <credentials passwordFormat="Clear">
93                                         <!--<user name="gonzalo" password="gonz"/>-->
94                                 </credentials>
95                         </forms>
96                 </authentication>
97                 <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
98                 <globalization  requestEncoding="utf-8"
99                                 responseEncoding="utf-8"
100                                 fileEncoding="utf-8"/>
101                 <!--
102                                 culture="en-US"
103                                 uiculture="en-US" />
104                 -->
105                 <sessionState mode="InProc" />
106                 <webServices>
107                         <protocols>
108                                 <add name="HttpSoap"/>
109                                 <add name="HttpPost"/>
110                                 <add name="HttpGet"/>
111                                 <add name="Documentation"/>
112                         </protocols>
113                         <wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
114                 </webServices>
115                 <webControls clientScriptsLocation="/web_scripts" />
116                 <compilation debug="false" defaultLanguage="c#">
117                         <compilers>
118                         <compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
119                                   type="Microsoft.CSharp.CSharpCodeProvider, System" />
120                         <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
121                                   warningLevel="1" compilerOptions=""
122                                   type="Microsoft.VisualBasic.VBCodeProvider, System" />
123                         </compilers>
124                         <assemblies>
125                                 <!--<add assembly="mscorlib" /> -->
126                                 <add assembly="System" />
127                                 <add assembly="System.Xml" />
128                                 <add assembly="System.Data" />
129                                 <add assembly="System.Web" />
130                                 <add assembly="System.Web.Services" />
131                                 <add assembly="System.Drawing" />
132                                 <add assembly="*" /> <!-- Add assemblies in bin directory -->
133                         </assemblies>
134                 </compilation>
135                 <httpRuntime executionTimeout="90"
136                              maxRequestLength="4096"
137                              useFullyQualifiedRedirectUrl="false"
138                              minFreeThreads="8"
139                              minLocalRequestFreeThreads="4"
140                              appRequestQueueLimit="100" />
141         </system.web>
142         
143         <system.runtime.remoting>
144                 <application>
145                         <channels>
146                                 <channel ref="http client" displayName="http client (delay loaded)" delayLoadAsClientChannel="true" />
147                                 <channel ref="tcp client" displayName="tcp client (delay loaded)" delayLoadAsClientChannel="true" />
148                         </channels>
149                 </application>
150                 <channels>
151                         <channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting" />
152                         <channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting" />
153                         <channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting" />
154                         <channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting" />
155                         <channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting" />
156                         <channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting" />
157                 </channels>
158                         <channelSinkProviders>
159                                 <clientProviders>
160                                         <formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting" />
161                                         <formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting" />
162                                 </clientProviders>
163                                 <serverProviders>
164                                         <formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting" />
165                                         <formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting" />
166                                         <provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting" />
167                                 </serverProviders>
168                         </channelSinkProviders>
169         </system.runtime.remoting>
170         
171         <appSettings>
172         <!--<add key="yourkey" value="your value" /> -->
173         <!--<remove key="a key defined higher in the hierarchy" /> -->
174         <!--<clear/> Removes all defined settings -->
175         </appSettings>
176         <system.diagnostics>
177                 <trace autoflush="false" indentsize="4" />
178         </system.diagnostics>
179         <system.drawing>
180         </system.drawing>
181 </configuration>
182
183