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