-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathweb.config
25 lines (25 loc) · 1.28 KB
/
web.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{R:1}" pattern="^(index\.php|(.*)\.swf|assets|system|robots\.txt|favicon\.ico|favicon\.png)" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="./index.php?{R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
<handlers accessPolicy="Read, Execute, Script">
<remove name="CGI-exe" />
<add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
</handlers>
<staticContent>
<mimeMap fileExtension=".yaml" mimeType="application/yaml" />
</staticContent>
</system.webServer>
</configuration>