Subversion Repositories oidplus

Rev

Rev 635 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
271 daniel-mar 1
<?xml version="1.0" encoding="utf-8" ?>
2
<configuration>
3
 
4
<!-- This config file is for Microsoft Internet Information Services -->
5
<!-- It is the replacement for the .htaccess files to protect directories from being accessed through HTTP -->
6
 
7
<system.webServer>
8
	<directoryBrowse enabled="false" />
289 daniel-mar 9
 
351 daniel-mar 10
	<staticContent>
11
		<mimeMap fileExtension=".nroff" mimeType="text/plain" />
12
	</staticContent>
13
 
289 daniel-mar 14
	<security>
15
		<authentication>
16
			<!-- This is required because the IUSR user account can't log into the Windows Error Log for some reasons -->
17
			<!-- see https://stackoverflow.com/a/16938687/488539 -->
18
			<anonymousAuthentication userName="" />
19
		</authentication>
20
	</security>
947 daniel-mar 21
 
22
	<rewrite>
23
		<rules>
24
			<rule name="oidplus_404_handler" enabled="true">
25
				<match url=".+" />
26
				<conditions>
27
					<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
28
					<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
29
				</conditions>
30
				<action type="Rewrite" url="index.php?h404={HTTP_URL}" />
31
			</rule>
32
		</rules>
33
	</rewrite>
271 daniel-mar 34
</system.webServer>
35
 
294 daniel-mar 36
<location path="userdata">
290 daniel-mar 37
	<system.webServer>
38
		<security>
39
			<authentication>
40
				<!--
41
				To "unlock" this section, run this command:
42
				%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication
43
				-->
44
				<anonymousAuthentication enabled="false" />
45
			</authentication>
46
		</security>
47
	</system.webServer>
48
</location>
49
 
476 daniel-mar 50
<location path="res">
51
	<system.webServer>
52
		<security>
53
			<authentication>
54
				<!--
55
				To "unlock" this section, run this command:
56
				%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication
57
				-->
58
				<anonymousAuthentication enabled="false" />
59
			</authentication>
60
		</security>
61
	</system.webServer>
62
</location>
63
 
271 daniel-mar 64
<location path="dev">
65
	<system.webServer>
66
		<security>
67
			<authentication>
68
				<!--
69
				To "unlock" this section, run this command:
70
				%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication
71
				-->
72
				<anonymousAuthentication enabled="false" />
73
			</authentication>
74
		</security>
75
	</system.webServer>
76
</location>
77
 
78
<location path="includes">
79
	<system.webServer>
80
		<security>
81
			<authentication>
82
				<!--
83
				To "unlock" this section, run this command:
84
				%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication
85
				-->
86
				<anonymousAuthentication enabled="false" />
87
			</authentication>
88
		</security>
89
	</system.webServer>
90
</location>
91
 
448 daniel-mar 92
<location path="setup/includes">
93
	<system.webServer>
94
		<security>
95
			<authentication>
96
				<!--
97
				To "unlock" this section, run this command:
98
				%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication
99
				-->
100
				<anonymousAuthentication enabled="false" />
101
			</authentication>
102
		</security>
103
	</system.webServer>
104
</location>
105
 
635 daniel-mar 106
<location path="plugins/viathinksoft/publicPages/100_whois/whois/cli">
271 daniel-mar 107
	<system.webServer>
108
		<security>
109
			<authentication>
110
				<!--
111
				To "unlock" this section, run this command:
112
				%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication
113
				-->
114
				<anonymousAuthentication enabled="false" />
115
			</authentication>
116
		</security>
117
	</system.webServer>
118
</location>
119
 
120
</configuration>