forked from telerik/ajax-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
web.config
89 lines (82 loc) · 3.95 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
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appSettings>
<clear />
</appSettings>
<system.web>
<httpRuntime maxRequestLength="102400" maxUrlLength="102400" maxQueryStringLength="10000" requestValidationType="System.Web.Util.RequestValidator" />
<httpModules>
<clear />
</httpModules>
<httpHandlers>
<clear />
</httpHandlers>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true">
<remove name="ClaimsPrincipalHttpModule" />
<remove name="SitefinityClaimsAuthenticationModule" />
<remove name="Sitefinity" />
<remove name="SessionAuthenticationModule" />
<remove name="ScriptModule" />
<remove name="RadUploadModule" />
<remove name="SitefinityAnalyticsModule" />
</modules>
<handlers>
<remove name="xamlx-64" />
<remove name="xamlx-script" />
<remove name="svc-64" />
<remove name="svc-script" />
<remove name="xamlx" />
<remove name="svc" />
<remove name="ScriptHandlerFactory" />
<remove name="ScriptHandlerFactoryAppServices" />
<remove name="ScriptResource" />
<remove name="WildCard" />
<remove name="WildCard32" />
<remove name="Telerik.Web.UI.DialogHandler" />
<remove name="Telerik.RadUploadProgressHandler" />
<remove name="Telerik.Sitefinity.FilesDownloadHandler" />
<remove name="Telerik.Sitefinity.ExportSubscribersHttpHandler" />
<remove name="Telerik.Sitefinity.LibrariesRadUploadHandler" />
<remove name="Telerik.Sitefinity.Html5UploadHandler" />
<remove name="Telerik.Sitefinity.ThumbnailUploadHandler" />
<remove name="Telerik.Sitefinity.AsyncImageUploadHandler" />
<remove name="Telerik.Sitefinity.AsyncFileUploadHandler" />
<remove name="Telerik.Sitefinity.AsyncToolsetXmlUploadHandler" />
<remove name="Telerik.Web.UI.SpellCheckHandler" />
<remove name="Telerik_Web_UI_WebResource_axd" />
<remove name="Telerik_Web_UI_DialogHandler_aspx" />
<remove name="Telerik.ReportViewer.axd_*" />
</handlers>
<rewrite>
<rules>
<clear />
<rule name="index" enabled="true" stopProcessing="true">
<match url="^/?$" />
<action type="Redirect" url="introduction" redirectType="Found" />
</rule>
{% for page in site.redirect_pages %} {% for redirect in page.previous_url %}
<rule name="redirect-{{ redirect | remove_first: '/' | replace: '/', '-' }}" enabled="true" stopProcessing="true">
<match url="^{{ redirect }}$" />
<action type="Redirect" url="{{ page.url | remove_first: '/' | replace: '.html', '' }}" />
</rule>
{% endfor %}{% endfor %}
<rule name="add_html_extension" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}.html" matchType="IsFile" />
</conditions>
<action type="Rewrite" url="{R:1}.html" />
</rule>
</rules>
</rewrite>
<staticContent>
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
<remove fileExtension=".woff" />
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
</staticContent>
</system.webServer>
</configuration>