Skip to content

Commit e78d1af

Browse files
committed
added web.config
1 parent 90b6578 commit e78d1af

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

public/web.config

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<configuration>
2+
<system.webServer>
3+
<rewrite>
4+
<rules>
5+
<rule name="Imported Rule 1" stopProcessing="true">
6+
<match url="^(.*)/$" ignoreCase="false" />
7+
<conditions>
8+
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
9+
</conditions>
10+
<action type="Redirect" redirectType="Permanent" url="/{R:1}" />
11+
</rule>
12+
<rule name="Imported Rule 2" stopProcessing="true">
13+
<match url="^" ignoreCase="false" />
14+
<conditions>
15+
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
16+
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
17+
</conditions>
18+
<action type="Rewrite" url="index.php" />
19+
</rule>
20+
</rules>
21+
</rewrite>
22+
</system.webServer>
23+
</configuration>

0 commit comments

Comments
 (0)