2018-02-05 20:04:37 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<configuration>
|
2022-02-25 18:51:16 +03:00
|
|
|
|
2018-02-05 20:04:37 +03:00
|
|
|
<appSettings>
|
|
|
|
<clear />
|
|
|
|
</appSettings>
|
2022-02-25 18:51:16 +03:00
|
|
|
|
2018-02-05 20:04:37 +03:00
|
|
|
<system.web>
|
|
|
|
<httpRuntime maxRequestLength="102400" maxUrlLength="102400" maxQueryStringLength="10000" requestValidationType="System.Web.Util.RequestValidator" />
|
2022-02-25 18:51:16 +03:00
|
|
|
|
2018-02-05 20:04:37 +03:00
|
|
|
<httpModules>
|
|
|
|
<clear />
|
|
|
|
</httpModules>
|
2022-02-25 18:51:16 +03:00
|
|
|
|
2018-02-05 20:04:37 +03:00
|
|
|
<httpHandlers>
|
|
|
|
<clear />
|
|
|
|
</httpHandlers>
|
|
|
|
</system.web>
|
2022-02-25 18:51:16 +03:00
|
|
|
|
2018-02-05 20:04:37 +03:00
|
|
|
<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>
|
|
|
|
<rewriteMaps configSource="redirect.config" />
|
|
|
|
<rules>
|
2023-09-18 16:53:41 +03:00
|
|
|
<rule name="Convert to lower case" stopProcessing="true">
|
|
|
|
<match url=".*[A-Z].*" ignoreCase="false" />
|
|
|
|
<action type="Redirect" url="{ToLower:{R:0}}" redirectType="Permanent" />
|
|
|
|
</rule>
|
2018-02-05 20:04:37 +03:00
|
|
|
<rule name="Redirect to https" stopProcessing="true">
|
2022-06-22 16:00:36 +03:00
|
|
|
<match url=".*" />
|
|
|
|
<conditions>
|
|
|
|
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
|
2018-02-05 20:04:37 +03:00
|
|
|
<add input="{HTTP_HOST}" pattern="localhost" negate="true" />
|
2022-06-22 16:00:36 +03:00
|
|
|
</conditions>
|
|
|
|
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
|
|
|
|
</rule>
|
2018-02-05 20:04:37 +03:00
|
|
|
<rule name="index" enabled="true" stopProcessing="true">
|
2022-06-22 16:00:36 +03:00
|
|
|
<match url="^/?$" />
|
|
|
|
<action type="Redirect" url="introduction" redirectType="Found" />
|
|
|
|
</rule>
|
2018-02-05 20:04:37 +03:00
|
|
|
<rule name="Rule for redirects">
|
2022-06-22 16:00:36 +03:00
|
|
|
<match url=".*" />
|
|
|
|
<conditions>
|
2022-08-11 18:23:40 +03:00
|
|
|
<add input="{Redirect:{URL}}" pattern="(.+)" />
|
2022-06-22 16:00:36 +03:00
|
|
|
</conditions>
|
|
|
|
<action type="Redirect" url="{C:1}" appendQueryString="true" />
|
|
|
|
</rule>
|
2018-02-05 20:04:37 +03: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>
|
2023-01-30 18:55:31 +03:00
|
|
|
|
2023-02-01 20:06:42 +03:00
|
|
|
<!-- Have to escape the . (dot) before the html as otherwise occur redirects only for 'html' -->
|
2022-08-09 12:49:29 +03:00
|
|
|
<rule name="Redirecting .html ext" stopProcessing="true">
|
2023-02-01 19:39:58 +03:00
|
|
|
<match url="^(.*)\.html"/>
|
2022-08-09 12:49:29 +03:00
|
|
|
<conditions logicalGrouping="MatchAny">
|
2023-02-01 19:39:58 +03:00
|
|
|
<add input="{URL}" pattern="(.*)\.html"/>
|
2022-08-09 12:49:29 +03:00
|
|
|
</conditions>
|
|
|
|
<action type="Redirect" url="{R:1}"/>
|
|
|
|
</rule>
|
2023-01-30 18:55:31 +03:00
|
|
|
|
2022-06-22 16:00:36 +03:00
|
|
|
{% for page in site.redirect_pages %}
|
|
|
|
{% for prev_url in page.previous_url %}
|
|
|
|
<rule name="redirect-{{ prev_url | replace: '/', '-' }}" enabled="true" stopProcessing="true">
|
2022-06-22 16:59:07 +03:00
|
|
|
<match url="^{{ prev_url | remove_first: '/' | replace: '.html', '' }}$" />
|
2022-06-22 16:00:36 +03:00
|
|
|
<action type="Redirect" url="{{ page.url | remove_first: '/' | replace: '.html', '' }}" />
|
|
|
|
</rule>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<rule name="troubleshooting" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^troubleshooting/(.*)$" />
|
|
|
|
<action type="Redirect" url="knowledge-base/{R:1}" redirectType="Permanent" />
|
|
|
|
</rule>
|
|
|
|
<rule name="configure-export-formats" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^using-reports-in-applications/export-and-configure/configure-the-export-formats/(.*)$" />
|
|
|
|
<action type="Redirect" url="doc-output/configure-the-export-formats/{R:1}" redirectType="Permanent" />
|
|
|
|
</rule>
|
|
|
|
<rule name="configure-report-engine" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^using-reports-in-applications/export-and-configure/configure-the-report-engine/(.*)$" />
|
|
|
|
<action type="Redirect" url="doc-output/configure-the-report-engine/{R:1}" redirectType="Permanent" />
|
|
|
|
</rule>
|
|
|
|
<rule name="display-reports-apps" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^using-reports-in-applications/display-reports-in-applications/(.*)$" />
|
|
|
|
<action type="Redirect" url="embedding-reports/display-reports-in-applications/{R:1}" redirectType="Permanent" />
|
|
|
|
</rule>
|
|
|
|
<rule name="host-report-engine-remotely" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^using-reports-in-applications/host-the-report-engine-remotely/(.*)$" />
|
|
|
|
<action type="Redirect" url="embedding-reports/host-the-report-engine-remotely/{R:1}" redirectType="Permanent" />
|
|
|
|
</rule>
|
|
|
|
<rule name="program-report-definition" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^using-reports-in-applications/program-the-report-definition/(.*)$" />
|
|
|
|
<action type="Redirect" url="embedding-reports/program-the-report-definition/{R:1}" redirectType="Permanent" />
|
|
|
|
</rule>
|
|
|
|
<rule name="adding-interactivity" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^designing-reports/adding-interactivity-to-reports/(.*)$" />
|
|
|
|
<action type="Redirect" url="interactivity/{R:1}" redirectType="Permanent" />
|
|
|
|
</rule>
|
|
|
|
<rule name="report-structure" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^designing-reports/report-structure/(.*)$" />
|
|
|
|
<action type="Redirect" url="report-items/{R:1}" redirectType="Permanent" />
|
|
|
|
</rule>
|
|
|
|
<rule name="rendering-paging" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^designing-reports/rendering-and-paging/(.*)$" />
|
|
|
|
<action type="Redirect" url="styling/rendering-and-paging/{R:1}" redirectType="Permanent" />
|
|
|
|
</rule>
|
|
|
|
<rule name="styling-reports" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^designing-reports/styling-reports/(.*)$" />
|
|
|
|
<action type="Redirect" url="styling/styling-reports/{R:1}" redirectType="Permanent" />
|
|
|
|
</rule>
|
|
|
|
<rule name="converting" enabled="true" stopProcessing="true">
|
|
|
|
<match url="^designing-reports/converting-reports-from-other-reporting-solutions/(.*)$" />
|
|
|
|
<action type="Redirect" url="importing-reports/{R:1}" redirectType="Permanent" />
|
|
|
|
</rule>
|
2018-02-05 20:04:37 +03:00
|
|
|
</rules>
|
|
|
|
</rewrite>
|
2022-02-25 18:51:16 +03:00
|
|
|
<httpProtocol>
|
|
|
|
<customHeaders>
|
|
|
|
<add name="Cache-Control" value="no-cache" />
|
|
|
|
</customHeaders>
|
|
|
|
</httpProtocol>
|
2018-02-05 20:04:37 +03:00
|
|
|
|
|
|
|
<staticContent>
|
|
|
|
<remove fileExtension=".json" />
|
|
|
|
<mimeMap fileExtension=".json" mimeType="application/json" />
|
|
|
|
<remove fileExtension=".woff" />
|
|
|
|
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
|
|
|
|
</staticContent>
|
|
|
|
</system.webServer>
|
2022-02-25 18:51:16 +03:00
|
|
|
|
2018-02-05 20:04:37 +03:00
|
|
|
</configuration>
|