Rev 635 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- This config file is for Microsoft Internet Information Services -->
<!-- It is the replacement for the .htaccess files to protect directories from being accessed through HTTP -->
<system.webServer>
<directoryBrowse enabled="false" />
<staticContent>
<mimeMap fileExtension=".nroff" mimeType="text/plain" />
</staticContent>
<security>
<authentication>
<!-- This is required because the IUSR user account can't log into the Windows Error Log for some reasons -->
<!-- see https://stackoverflow.com/a/16938687/488539 -->
<anonymousAuthentication userName="" />
</authentication>
</security>
<rewrite>
<rules>
<rule name="oidplus_404_handler" enabled="true">
<match url=".+" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?h404={HTTP_URL}" />
</rule>
</rules>
</rewrite>
</system.webServer>
<location path="userdata">
<system.webServer>
<security>
<authentication>
<!--
To "unlock" this section, run this command:
%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication
-->
<anonymousAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>
<location path="res">
<system.webServer>
<security>
<authentication>
<!--
To "unlock" this section, run this command:
%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication
-->
<anonymousAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>
<location path="dev">
<system.webServer>
<security>
<authentication>
<!--
To "unlock" this section, run this command:
%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication
-->
<anonymousAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>
<location path="includes">
<system.webServer>
<security>
<authentication>
<!--
To "unlock" this section, run this command:
%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication
-->
<anonymousAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>
<location path="setup/includes">
<system.webServer>
<security>
<authentication>
<!--
To "unlock" this section, run this command:
%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication
-->
<anonymousAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>
<location path="plugins/viathinksoft/publicPages/100_whois/whois/cli">
<system.webServer>
<security>
<authentication>
<!--
To "unlock" this section, run this command:
%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/authentication/anonymousAuthentication
-->
<anonymousAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>
</configuration>