2016-07-24 14:14:37 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<configuration>
|
|
|
|
<system.webServer>
|
|
|
|
<!--
|
|
|
|
For rewrite to work install URL Rewrite Module via Web Platform Installer
|
|
|
|
-->
|
|
|
|
<rewrite>
|
|
|
|
<rules>
|
|
|
|
<rule name="bss" patternSyntax="Wildcard">
|
|
|
|
<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" />
|
|
|
|
</rule>
|
|
|
|
</rules>
|
|
|
|
</rewrite>
|
|
|
|
</system.webServer>
|
2016-07-28 23:10:54 +08:00
|
|
|
|
|
|
|
<!-- Protect .env file -->
|
|
|
|
<location path=".env">
|
|
|
|
<system.web>
|
|
|
|
<authorization>
|
|
|
|
<deny users="*"/>
|
|
|
|
</authorization>
|
|
|
|
</system.web>
|
|
|
|
</location>
|
2016-07-24 14:14:37 +08:00
|
|
|
</configuration>
|