2014-06-24 19:42:13 +04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<configuration>
|
2014-07-15 16:59:35 +04:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2014-06-24 19:42:13 +04:00
|
|
|
<system.webServer>
|
2014-07-15 16:59:35 +04:00
|
|
|
<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>
|
|
|
|
|
2014-06-24 19:42:13 +04:00
|
|
|
<rewrite>
|
|
|
|
<rules>
|
2014-07-23 12:03:31 +04:00
|
|
|
<clear />
|
2016-10-13 17:16:38 +03:00
|
|
|
<!--<rule name="redirect-projectwizrd" enabled="true" stopProcessing="true">
|
2016-10-10 16:27:08 +03:00
|
|
|
<match url="^devtools/xamarin/installation-and-deployment/project-wizard" />
|
2016-10-10 16:40:51 +03:00
|
|
|
<action type="Redirect" url="devtools/xamarin/installation-and-deployment/windows/project-wizard" />
|
2016-10-13 17:16:38 +03:00
|
|
|
</rule>-->
|
2016-10-13 12:28:50 +03:00
|
|
|
<rule name="redirect-calendar-getting-started" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^devtools/xamarin/controls/calendar/calendar-getting-started" />
|
2016-10-13 17:10:55 +03:00
|
|
|
<action type="Redirect" url="devtools/xamarin/installation-and-deployment/windows/project-wizard" />
|
2016-10-13 12:28:50 +03:00
|
|
|
</rule>
|
2016-10-13 17:16:38 +03:00
|
|
|
<!--<rule name="redirect-chart-getting-started" enabled="true" stopProcessing="true">
|
2016-10-13 12:28:50 +03:00
|
|
|
<match url="^devtools/xamarin/controls/chart/chart-getting-started" />
|
|
|
|
<action type="Redirect" url="devtools/xamarin/controls/chart/getting-started/chart-getting-started" />
|
|
|
|
</rule>
|
|
|
|
<rule name="redirect-dataform-getting-started" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^devtools/xamarin/controls/dataform/dataform-getting-started" />
|
|
|
|
<action type="Redirect" url="devtools/xamarin/controls/dataform/getting-started/dataform-getting-started" />
|
|
|
|
</rule>
|
|
|
|
<rule name="redirect-listview-getting-started" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^devtools/xamarin/controls/listview/listview-getting-started" />
|
|
|
|
<action type="Redirect" url="devtools/xamarin/controls/listview/getting-started/listview-getting-started" />
|
|
|
|
</rule>
|
|
|
|
<rule name="redirect-listview-gestures-cell-swipe" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^devtools/xamarin/controls/listview/features/listview-features-cell-swipe" />
|
|
|
|
<action type="Redirect" url="devtools/xamarin/controls/listview/gestures/listview-gestures-cell-swipe" />
|
|
|
|
</rule>
|
|
|
|
<rule name="redirect-listview-gestures-pull-to-refresh" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^devtools/xamarin/controls/listview/gestures/listview-efatures-pull-to-refresh" />
|
|
|
|
<action type="Redirect" url="devtools/xamarin/controls/listview/gestures/listview-gestures-pull-to-refresh" />
|
|
|
|
</rule>
|
|
|
|
<rule name="redirect-listview-features-layouts" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^devtools/xamarin/controls/listview/features/listview-features-layouts" />
|
|
|
|
<action type="Redirect" url="devtools/xamarin/controls/listview/listview-features-layouts" />
|
|
|
|
</rule>
|
|
|
|
<rule name="redirect-sidedrawer-getting-started" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^devtools/xamarin/controls/sidedrawer/sidedrawer-getting-started" />
|
|
|
|
<action type="Redirect" url="devtools/xamarin/controls/sidedrawer/getting-started/sidedrawer-getting-started" />
|
2016-10-13 17:16:38 +03:00
|
|
|
</rule>-->
|
2014-07-23 12:03:31 +04:00
|
|
|
|
2014-06-30 16:16:33 +04:00
|
|
|
{% for directory in site.redirect_directories %}
|
|
|
|
<rule name="redirect-{{ directory.path | replace: '/', '-' }}" enabled="true">
|
|
|
|
<match url="^{{ directory.path }}/?$" />
|
2014-07-01 15:27:01 +04:00
|
|
|
<conditions logicalGrouping="MatchAll">
|
|
|
|
<add input="{REQUEST_FILENAME}.html" matchType="IsFile" negate="true" />
|
|
|
|
</conditions>
|
2014-06-30 16:16:33 +04:00
|
|
|
<action type="Redirect" url="{{ directory.url }}" redirectType="Found" />
|
|
|
|
</rule>
|
|
|
|
{% endfor %}
|
2014-06-26 15:23:06 +04:00
|
|
|
{% for page in site.redirect_pages %} {% for redirect in page.previous_url %}
|
2014-06-30 16:16:33 +04:00
|
|
|
<rule name="redirect-{{ redirect | remove_first: '/' | replace: '/', '-' }}" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^{{ redirect | remove_first: '/' }}$" />
|
2014-06-26 15:23:06 +04:00
|
|
|
<action type="Redirect" url="{{ page.url | remove_first: '/' | replace: '.html', '' }}" />
|
|
|
|
</rule>
|
|
|
|
{% endfor %}{% endfor %}
|
2014-06-24 19:42:13 +04:00
|
|
|
<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>
|
2014-07-11 13:06:52 +04:00
|
|
|
<remove fileExtension=".json" />
|
2014-06-24 19:42:13 +04:00
|
|
|
<mimeMap fileExtension=".json" mimeType="application/json" />
|
2014-07-15 19:20:51 +04:00
|
|
|
<remove fileExtension=".woff" />
|
|
|
|
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
|
2014-06-24 19:42:13 +04:00
|
|
|
</staticContent>
|
|
|
|
</system.webServer>
|
2014-07-15 16:59:35 +04:00
|
|
|
|
2014-06-24 19:42:13 +04:00
|
|
|
</configuration>
|