76 lines
3.8 KiB
XML
76 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<configuration>
|
|
<system.webServer>
|
|
<rewrite>
|
|
<rewriteMaps>
|
|
<rewriteMap name="/{R:1}" />
|
|
</rewriteMaps>
|
|
<rules>
|
|
<clear />
|
|
<rule name="no-directory/" enabled="true" stopProcessing="true">
|
|
<match url="^(.*)/$" />
|
|
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
|
|
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
|
|
</conditions>
|
|
<action type="Redirect" url="{R:1}" />
|
|
</rule>
|
|
<rule name="web_installer/index.php" patternSyntax="ECMAScript" stopProcessing="true">
|
|
<match url="^web_installer/index.php" />
|
|
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
|
|
<add input="{REQUEST_FILENAME}" matchType="IsFile" />
|
|
</conditions>
|
|
<action type="None" />
|
|
</rule>
|
|
<rule name="web_installer" stopProcessing="true">
|
|
<match url="^web_installer" />
|
|
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
|
|
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" />
|
|
</conditions>
|
|
<action type="Redirect" url="web_installer/index.php" />
|
|
</rule>
|
|
<rule name=".php" enabled="true" stopProcessing="true">
|
|
<match url=".php$" />
|
|
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
|
|
<add input="{REQUEST_FILENAME}" matchType="IsFile" />
|
|
</conditions>
|
|
<action type="Rewrite" url="index.php" />
|
|
</rule>
|
|
<rule name="assets/*" stopProcessing="true">
|
|
<match url="^assets/.*" />
|
|
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
|
|
<add input="{REQUEST_FILENAME}" matchType="IsFile" />
|
|
</conditions>
|
|
<action type="None" />
|
|
</rule>
|
|
<rule name="plugins/*" stopProcessing="true">
|
|
<match url="^plugins/.*" />
|
|
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
|
|
<add input="{REQUEST_FILENAME}" matchType="IsFile" />
|
|
</conditions>
|
|
<action type="None" />
|
|
</rule>
|
|
<rule name="storage/app/public" stopProcessing="true">
|
|
<match url="^storage/app/public/.*" />
|
|
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
|
|
<add input="{REQUEST_FILENAME}" matchType="IsFile" />
|
|
</conditions>
|
|
<action type="None" />
|
|
</rule>
|
|
<rule name="favicon.*" enabled="true" stopProcessing="true">
|
|
<match url="^favicon.*$" />
|
|
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
|
|
<add input="{REQUEST_FILENAME}" matchType="IsFile" />
|
|
</conditions>
|
|
<action type="None" />
|
|
</rule>
|
|
<rule name="default" enabled="true" stopProcessing="true">
|
|
<match url="^" />
|
|
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
|
|
<action type="Rewrite" url="index.php" />
|
|
</rule>
|
|
</rules>
|
|
</rewrite>
|
|
<urlCompression doStaticCompression="false" />
|
|
</system.webServer>
|
|
</configuration>
|