|
24 | 24 | </conditions> |
25 | 25 | </rule> |
26 | 26 |
|
27 | | - <rule name="Redirect rule30 for redirect dnt/kb pages" enabled="true" patternSyntax="ECMAScript"> |
| 27 | + <rule name="Redirect rule30 for redirect dnt/kb pages" enabled="true" patternSyntax="ECMAScript" stopProcessing="true"> |
28 | 28 | <match url="indepth/troubleshooting/common-errors/activating-the-WebTwain-instance.html" ignoreCase="true" negate="false" /> |
29 | 29 | <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> |
30 | 30 | <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" /> |
31 | 31 | </rule> |
32 | 32 |
|
33 | | - <rule name="Redirect /indepth/faqs/distribution/How-to-set-the-MIME-type.html" enabled="true" patternSyntax="ECMAScript"> |
| 33 | + <rule name="Redirect /indepth/faqs/distribution/How-to-set-the-MIME-type.html" enabled="true" patternSyntax="ECMAScript" stopProcessing="true"> |
34 | 34 | <match url="indepth/faqs/distribution/How-to-set-the-MIME-type.html" ignoreCase="true" negate="false" /> |
35 | 35 | <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> |
36 | 36 | <action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/indepth/deployment/server.html#make-sure-the-static-files-can-be-served-correctly" appendQueryString="false" logRewrittenUrl="false" /> |
37 | 37 | </rule> |
38 | 38 |
|
39 | | - <rule name="Redirect rule59 - https://www.dynamsoft.com/web-twain/docs/about/faqs.html" enabled="true" patternSyntax="ECMAScript"> |
| 39 | + <rule name="Redirect rule59 - https://www.dynamsoft.com/web-twain/docs/about/faqs.html" enabled="true" patternSyntax="ECMAScript" stopProcessing="true"> |
40 | 40 | <match url="about/faqs.html" ignoreCase="true" negate="false" /> |
41 | 41 | <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> |
42 | 42 | <action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/indepth/faqs/?ver=latest" appendQueryString="false" logRewrittenUrl="false" /> |
43 | 43 | </rule> |
44 | 44 |
|
45 | | - <rule name="Redirect https://www.dynamsoft.com/web-twain/docs/faq/how-to-enable-remote-scan.html" enabled="true" patternSyntax="ECMAScript"> |
| 45 | + <rule name="Redirect https://www.dynamsoft.com/web-twain/docs/faq/how-to-enable-remote-scan.html" enabled="true" patternSyntax="ECMAScript" stopProcessing="true"> |
46 | 46 | <match url="faq/how-to-enable-remote-scan.html" ignoreCase="true" negate="false" /> |
47 | 47 | <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> |
48 | 48 | <action type="Redirect" url="https://www.dynamsoft.com/remote-scan/docs/introduction/" appendQueryString="false" logRewrittenUrl="false" /> |
49 | 49 | </rule> |
50 | 50 |
|
51 | | - <rule name="Redirect https://www.dynamsoft.com/web-twain/docs/faq/how-come-would-some-customers-need-local.dynamsoft.com.html" enabled="true" patternSyntax="ECMAScript"> |
| 51 | + <rule name="Redirect https://www.dynamsoft.com/web-twain/docs/faq/how-come-would-some-customers-need-local.dynamsoft.com.html" enabled="true" patternSyntax="ECMAScript" stopProcessing="true"> |
52 | 52 | <match url="faq/how-come-would-some-customers-need-local.dynamsoft.com.html" ignoreCase="true" negate="false" /> |
53 | 53 | <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> |
54 | 54 | <action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs/faq/how-come-would-you-need-local.dynamsoft.com.html" appendQueryString="false" logRewrittenUrl="false" /> |
55 | 55 | </rule> |
56 | 56 | </rules> |
57 | 57 | </rewrite> |
| 58 | + <httpErrors errorMode="DetailedLocalOnly" defaultResponseMode="File" > |
| 59 | + <remove statusCode="404" /> |
| 60 | + <error statusCode="404" path="https://www.dynamsoft.com/web-twain/docs/about/?redirect=404" /> |
| 61 | + </httpErrors> |
58 | 62 | </system.webServer> |
59 | 63 | </configuration> |
0 commit comments