-
Notifications
You must be signed in to change notification settings - Fork 16
/
web.config
43 lines (42 loc) · 2.74 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
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.web></system.web>
<system.webServer>
<rewrite>
<rules>
<!-- <clear /> -->
<!-- For Example -->
<!-- Important!!! Rule Name can't be repeated. -->
<!-- <rule name="Rewrite Resource Page" stopProcessing="true">
<match url="about/index.html" />
<action type="Rewrite" url="https://www.dynamsoft.com/web-twain/resources/" appendQueryString="true" />
</rule> -->
<rule name="Redirect rule1 for dls pages -- ltsonwindows" enabled="true" patternSyntax="ECMAScript">
<match url="selfhosted/ltsonwindows.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="{HTTP_POST}/license-server/docs/selfhosting/DLSonwindows.html?ver=latest" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect selfhosting/ltsonwindows.html" enabled="true" patternSyntax="ECMAScript">
<match url="selfhosting/ltsonwindows.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="{HTTP_POST}/license-server/docs/selfhosting/DLSonWindows.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule2 for dls pages -- ltsonlinux" enabled="true" patternSyntax="ECMAScript">
<match url="selfhosting/ltsonlinux.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="{HTTP_POST}/license-server/docs/selfhosting/DLSonlinux.html?ver=latest" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule2 for dls pages -- unusedpage" enabled="true" patternSyntax="ECMAScript">
<match url="schedule/stable.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="{HTTP_POST}/license-server/docs/about/index.html?ver=latest" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule2 for dls pages -- notusedpage" enabled="true" patternSyntax="ECMAScript">
<match url="requirements/per-active-device.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="{HTTP_POST}/license-server/docs/about/index.html?ver=latest" appendQueryString="false" logRewrittenUrl="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>