2002-10-27 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                 <sectionGroup name="system.web">
9                         <section name="httpHandlers" type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
10                         <section name="httpModules" type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
11                 </sectionGroup>
12         </configSections>
13         <system.web>
14                 <httpHandlers>
15                         <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory" />
16                         <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler" />
17                         <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler" />
18                         <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler" />
19                         <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler" />
20                         <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler" />
21                 </httpHandlers>
22                 <httpModules>
23                 </httpModules>
24         </system.web>
25         
26         <appSettings>
27         <!--<add key="yourkey" value="your value" /> -->
28         <!--<remove key="a key defined higher in the hierarchy" /> -->
29         <!--<clear/> Removes all defined settings -->
30         </appSettings>
31 </configuration>
32