<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<httpErrors>
<remove statusCode=”404″ subStatusCode=”-1″ />
<error statusCode=”404″ prefixLanguageFilePath=”” path=”/404.html” responseMode=”ExecuteURL” />
</httpErrors>
<rewrite>
<rules>
<rule name=”Imported Rule 1″>
<match url=”(.*)” />
<conditions logicalGrouping=”MatchAll”>
<add input=”{HTTP_HOST}” pattern=”^sleep-vip.cn$” ignoreCase=”false” />
</conditions>
<action type=”Redirect” url=”https://www.sleep-vip.cn/{R:1}” redirectType=”Permanent” />
</rule>
<rule name=”redirect to HTTPS” stopProcessing=”true”>
<match url=”(.*)” />
<conditions>
<add input=”{HTTPS}” pattern=”^OFF$” />
</conditions>
<action type=”Redirect” url=”https://{HTTP_HOST}/{R:1}” />
</rule>
</rules>
</rewrite>
<defaultDocument>
<files>
<clear />
<add value=”index.html” />
<add value=”index.php” />
<add value=”index.htm” />
</files>
</defaultDocument>
</system.webServer>
</configuration>