-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathWeb.config
More file actions
35 lines (33 loc) · 1.2 KB
/
Web.config
File metadata and controls
35 lines (33 loc) · 1.2 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
31
32
33
34
35
<?xml version="1.0"?>
<configuration>
<system.webServer>
<defaultDocument enabled="true">
<files>
<add value="mha.html"/>
</files>
</defaultDocument>
<!--<directoryBrowse enabled="true" />-->
<rewrite>
<rules>
<rule name="Rewrite Root to MHA Page" stopProcessing="true">
<match url="^$" />
<action type="Rewrite" url="/pages/mha.html" />
</rule>
</rules>
</rewrite>
<staticContent>
<mimeMap fileExtension=".json" mimeType="application/json" />
<clientCache cacheControlMode="DisableCache"/>
</staticContent>
<httpRedirect enabled="true" httpResponseStatus="Permanent">
<add wildcard="Pages\Default.html" destination="Pages\uitoggle.html?default=classic"/>
<add wildcard="Pages\DefaultPhone.html" destination="Pages\uitoggle.html?default=classic"/>
<add wildcard="Pages\DefaultTablet.html" destination="Pages\uitoggle.html?default=classic"/>
<add wildcard="Pages\DesktopPane.html" destination="Pages\uitoggle.html?default=new"/>
<add wildcard="Pages\MobilePane-ios.html" destination="Pages\uitoggle.html?default=new-mobile"/>
</httpRedirect>
</system.webServer>
<system.web>
<compilation debug="true" targetFramework="4.8"/>
</system.web>
</configuration>