-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathweb.config
More file actions
30 lines (30 loc) · 1.08 KB
/
web.config
File metadata and controls
30 lines (30 loc) · 1.08 KB
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
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="false" />
<httpErrors existingResponse="PassThrough" />
<rewrite>
<rules>
<rule name="SEO Friendly URLs" enabled="true" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
</conditions>
<action type="Rewrite" url="app/www/index.php?u={R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
<httpProtocol>
<customHeaders>
<remove name="X-Powered-By" />
<add name="X-Powered-By" value="Alloy Framework" />
</customHeaders>
</httpProtocol>
<defaultDocument>
<files>
<remove value="index.php" />
<add value="app/www/index.php" />
</files>
</defaultDocument>
</system.webServer>
</configuration>