Rev 289 | Rev 294 | 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 | |
10 | <security> |
||
11 | <authentication> |
||
12 | <!-- This is required because the IUSR user account can't log into the Windows Error Log for some reasons --> |
||
13 | <!-- see https://stackoverflow.com/a/16938687/488539 --> |
||
14 | <anonymousAuthentication userName="" /> |
||
15 | </authentication> |
||
16 | </security> |
||
271 | daniel-mar | 17 | </system.webServer> |
18 | |||
290 | daniel-mar | 19 | <location path="secure"> |
20 | <system.webServer> |
||
21 | <security> |
||
22 | <authentication> |
||
23 | <!-- |
||
24 | To "unlock" this section, run this command: |
||
25 | %windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication |
||
26 | --> |
||
27 | <anonymousAuthentication enabled="false" /> |
||
28 | </authentication> |
||
29 | </security> |
||
30 | </system.webServer> |
||
31 | </location> |
||
32 | |||
271 | daniel-mar | 33 | <location path="dev"> |
34 | <system.webServer> |
||
35 | <security> |
||
36 | <authentication> |
||
37 | <!-- |
||
38 | To "unlock" this section, run this command: |
||
39 | %windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication |
||
40 | --> |
||
41 | <anonymousAuthentication enabled="false" /> |
||
42 | </authentication> |
||
43 | </security> |
||
44 | </system.webServer> |
||
45 | </location> |
||
46 | |||
47 | <location path="includes"> |
||
48 | <system.webServer> |
||
49 | <security> |
||
50 | <authentication> |
||
51 | <!-- |
||
52 | To "unlock" this section, run this command: |
||
53 | %windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication |
||
54 | --> |
||
55 | <anonymousAuthentication enabled="false" /> |
||
56 | </authentication> |
||
57 | </security> |
||
58 | </system.webServer> |
||
59 | </location> |
||
60 | |||
61 | <location path="plugins/publicPages/100_whois/whois/cli"> |
||
62 | <system.webServer> |
||
63 | <security> |
||
64 | <authentication> |
||
65 | <!-- |
||
66 | To "unlock" this section, run this command: |
||
67 | %windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication |
||
68 | --> |
||
69 | <anonymousAuthentication enabled="false" /> |
||
70 | </authentication> |
||
71 | </security> |
||
72 | </system.webServer> |
||
73 | </location> |
||
74 | |||
75 | </configuration> |