Welcome to mirror list, hosted at ThFree Co, Russian Federation.

machine.config « data - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c4250ba2f5172ff64cffa9891a38951b51dea1dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="utf-8"?>

<configuration>

	<configSections>
	        <section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />

		<sectionGroup name="system.web">
			<section name="httpHandlers" type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
			<section name="httpModules" type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
		</sectionGroup>
	</configSections>
	<system.web>
		<httpHandlers>
			<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory" />
			<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler" />
			<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler" />
			<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler" />
			<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler" />
			<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler" />
		</httpHandlers>
		<httpModules>
		</httpModules>
	</system.web>
	
	<appSettings>
	<!--<add key="yourkey" value="your value" /> -->
	<!--<remove key="a key defined higher in the hierarchy" /> -->
	<!--<clear/> Removes all defined settings -->
	</appSettings>
</configuration>