2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[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" type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
11                         <section name="httpModules" type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
12                         <section name="machineKey" type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
13                         <section name="authentication" type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
14                         <section name="authorization" type="System.Web.Configuration.AuthorizationConfigHandler, System.Web" />
15                 </sectionGroup>
16         </configSections>
17         <system.web>
18                 <httpHandlers>
19                         <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
20                         <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
21                         <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
22                         <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
23                         <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
24                         <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
25                 </httpHandlers>
26                 <httpModules>
27                         <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
28                         <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
29                 </httpModules>
30                 <authentication mode="Forms">
31                         <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
32                                 <credentials passwordFormat="Clear">
33                                         <!--<user name="gonzalo" password="gonz"/>-->
34                                 </credentials>
35                         </forms>
36                 </authentication>
37                 <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
38         </system.web>
39         
40         <appSettings>
41         <!--<add key="yourkey" value="your value" /> -->
42         <!--<remove key="a key defined higher in the hierarchy" /> -->
43         <!--<clear/> Removes all defined settings -->
44         </appSettings>
45         <system.diagnostics>
46                 <trace autoflush="false" indentsize="4" />
47         </system.diagnostics>
48 </configuration>
49