Rev 351 | Rev 476 | Go to most recent revision | 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> |
||
271 | daniel-mar | 21 | </system.webServer> |
22 | |||
294 | daniel-mar | 23 | <location path="userdata"> |
290 | daniel-mar | 24 | <system.webServer> |
25 | <security> |
||
26 | <authentication> |
||
27 | <!-- |
||
28 | To "unlock" this section, run this command: |
||
29 | %windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication |
||
30 | --> |
||
31 | <anonymousAuthentication enabled="false" /> |
||
32 | </authentication> |
||
33 | </security> |
||
34 | </system.webServer> |
||
35 | </location> |
||
36 | |||
271 | daniel-mar | 37 | <location path="dev"> |
38 | <system.webServer> |
||
39 | <security> |
||
40 | <authentication> |
||
41 | <!-- |
||
42 | To "unlock" this section, run this command: |
||
43 | %windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication |
||
44 | --> |
||
45 | <anonymousAuthentication enabled="false" /> |
||
46 | </authentication> |
||
47 | </security> |
||
48 | </system.webServer> |
||
49 | </location> |
||
50 | |||
51 | <location path="includes"> |
||
52 | <system.webServer> |
||
53 | <security> |
||
54 | <authentication> |
||
55 | <!-- |
||
56 | To "unlock" this section, run this command: |
||
57 | %windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication |
||
58 | --> |
||
59 | <anonymousAuthentication enabled="false" /> |
||
60 | </authentication> |
||
61 | </security> |
||
62 | </system.webServer> |
||
63 | </location> |
||
64 | |||
448 | daniel-mar | 65 | <location path="setup/includes"> |
66 | <system.webServer> |
||
67 | <security> |
||
68 | <authentication> |
||
69 | <!-- |
||
70 | To "unlock" this section, run this command: |
||
71 | %windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication |
||
72 | --> |
||
73 | <anonymousAuthentication enabled="false" /> |
||
74 | </authentication> |
||
75 | </security> |
||
76 | </system.webServer> |
||
77 | </location> |
||
78 | |||
271 | daniel-mar | 79 | <location path="plugins/publicPages/100_whois/whois/cli"> |
80 | <system.webServer> |
||
81 | <security> |
||
82 | <authentication> |
||
83 | <!-- |
||
84 | To "unlock" this section, run this command: |
||
85 | %windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication |
||
86 | --> |
||
87 | <anonymousAuthentication enabled="false" /> |
||
88 | </authentication> |
||
89 | </security> |
||
90 | </system.webServer> |
||
91 | </location> |
||
92 | |||
93 | </configuration> |