forked from OrchardCMS/OrchardDoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Web.config
34 lines (34 loc) · 1.04 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
26
27
28
29
30
31
32
33
34
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="bingAppId" value="Please put your Bing app id here"/>
</appSettings>
<system.web>
<compilation targetFramework="4.0"/>
<customErrors mode="RemoteOnly"/>
</system.web>
<system.webServer>
<defaultDocument>
<files>
<add value="Index.markdown"/>
</files>
</defaultDocument>
<modules runAllManagedModulesForAllRequests="true"/>
<rewrite>
<rewriteMaps>
<rewriteMap name="StaticRewrites" defaultValue="">
<add key="/documentation/" value="/" />
</rewriteMap>
</rewriteMaps>
<rules>
<rule name="StaticRewrites RewriteMap Rule">
<match url=".*" />
<conditions>
<add input="{StaticRewrites:{REQUEST_URI}}" pattern="(.+)" />
</conditions>
<action type="Redirect" url="{C:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>