-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathweb.config
187 lines (158 loc) · 15.2 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?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 rule30 for redirect dnt/kb pages" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/troubleshooting/common-errors/activating-the-WebTwain-instance.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/indepth/faqs/troubleshooting/activating-the-WebTwain-instance-prompt-doesnt-disappear.html?ver=latest" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule32 for redirect dnt/kb pages" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/troubleshooting/How-to-resolve-if-Dynamic-Web-TWAIN-stops-working-on-insecure-websites-in-Chrome-94.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/http-insecure-websites-in-chromium-browser.html?ver=latest" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule33 for redirect dnt/kb pages" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/troubleshooting/How-to-resolve-if-Dynamic-Web-TWAIN-stops-working-on-insecure-websites-in-Chrome-v94.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/http-insecure-websites-in-chromium-browser.html?ver=latest" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule34 for redirect hipaa-compliant" enabled="true" patternSyntax="ECMAScript">
<match url="faq/hippa-compliant.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/hipaa-compliant.html?ver=latest" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule35 for redirect Error message" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/license/the-current-product-key-does-not-match-the-domain.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/error-message-domain-of-site-doesnt-match-domain-bound-to-product-key.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule36 - Can I install Dynamsoft Service silently?" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/develop/can-i-install-dynamsoft-service-silently.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/can-i-install-dynamsoft-service-silently.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule37 - How to uninstall Dynamsoft Service?" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/develop/how-to-uninstall-dynamic-web-twain.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/how-to-uninstall-dynamsoft-service.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule38 - How can I change the certificate of the Dynamsoft Service?" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/develop/how-to-change-the-certificate-of-the-dynamsoft-service.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/change-dynamsoft-service-certificate.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule39 - I have installed the Dynamsoft Service on an end-user machine but still got asked to install it repeatedly" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/distribution/why-is-the-browser-prompting-me-to-install-dynamsoft-service-repeatedly.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/service-prompting-to-install-repeatedly.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule40 - What are the differences between TWAIN and WIA?" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/troubleshooting/What-are-the-differences-between-TWAIN-and-WIA.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/difference-between-Twain-and-wia.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule41 - Download virtual scanner for testing" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/troubleshooting/Download-virtual-scanner-for-testing.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/download-virtual-scanner-for-testing.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule42 - How to use TWACKER to check if your device is TWAIN Compliant?" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/troubleshooting/How-to-use-TWACKER-to-check-if-your-device-is-TWAIN-Compliant.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/how-to-use-TWACKER-to-check-if-your-device-is-TWAIN-Compliant.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule43 - How to test if your scanner supports ICA scanning on Mac OS?" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/troubleshooting/How-to-test-if-your-scanner-supports-ICA-scanning-on-Mac-OS.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/how-to-test-if-your-scanner-supports-ICA-scanning-on-Mac-OS.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule44 - How to test if your device is SANE compliant?" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/troubleshooting/How-to-test-if-your-device-is-SANE-compliant.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/how-to-test-if-your-device-is-SANE-compliant.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule45 - How to test if your camera is DirectShow compliant?" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/troubleshooting/How-to-test-if-your-camera-is-DirectShow-compliant.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/how-to-test-if-your-camera-is-DirectShow-compliant.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule46 - How to test if your camera is MediaDevices compliant?" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/troubleshooting/How-to-test-if-your-camera-is-MediaDevices-compliant.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/how-to-test-if-your-camera-is-MediaDevices-compliant.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule47 - General troubleshooting steps" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/troubleshooting/How-to-enable-and-collect-verbose-log.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/general-troubleshooting-steps.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule48 - Do you support image deskew?" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/develop/How-to-automatically-deskew-an-image.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/support-image-deskew.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule49 - How can I insert an image after a selected image in the viewer?" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/develop/How-to-insert-images-to-a-specified-index.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/insert-image-after-selected-image.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule50 - How can I change the reference path to the Dynamsoft resources in my project?" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/develop/How-to-change-the-location-or-to-rename-the-Resources-folder-with-Dynamic-Web-TWAIN.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/change-reference-path.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule51 - General failure" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/errorlist/general-failure.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/general-failure.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule52 - HTTP request error" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/errorlist/HTTP-request-error.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/HTTP-request-error.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule53 - HTTP process error" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/errorlist/HTTP-process-error.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/HTTP-process-error.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule54 - Only 24-bit true color bmp and 8-bit gray-scaled images are supported for JPEG compression" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/errorlist/JPEG-compression.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/JPEG-compression.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule55 - XMLHttpRequest cannot load XXX" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/errorlist/XMLHttpRequest-cannot-load.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/XMLHttpRequest-cannot-load.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule56 - Source is connected to the maximum supported number of applications" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/errorlist/source-connected-to-maximum.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/source-connected-to-maximum.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule57 - Sequence error" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/errorlist/Sequence-error.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/sequence-error.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="Redirect rule58 - Request header field dwt-md5 is not allowed by Access-Control-Allow-Headers in preflight response" enabled="true" patternSyntax="ECMAScript">
<match url="indepth/faqs/errorlist/dwt-md5-is-not-allowed.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/dwt-md5-is-not-allowed.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>