209 строки
10 KiB
XML
209 строки
10 KiB
XML
<?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>
|
|
<rewriteMaps configSource="redirect.config" />
|
|
<rules>
|
|
<rule name="Redirect to https" stopProcessing="true">
|
|
<match url=".*" />
|
|
<conditions>
|
|
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
|
|
<add input="{HTTP_HOST}" pattern="localhost" negate="true" />
|
|
<add input="{HTTP_HOST}" pattern="keranov" negate="true" />
|
|
</conditions>
|
|
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="index" enabled="true" stopProcessing="true">
|
|
<match url="^/?$" />
|
|
<action type="Redirect" url="introduction" redirectType="Found" />
|
|
</rule>
|
|
<rule name="Rule for redirects">
|
|
<match url=".*" />
|
|
<conditions>
|
|
<add input="{Redirect:{REQUEST_URI}}" pattern="(.+)" />
|
|
</conditions>
|
|
<action type="Redirect" url="{C:1}" appendQueryString="true" />
|
|
</rule>
|
|
<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>
|
|
<rule name="rule1" stopProcessing="true">
|
|
<match url="^report-designer$" />
|
|
<action type="Redirect" url="user-guide/report-designer" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule2" stopProcessing="true">
|
|
<match url="^reports-management(.*)$" />
|
|
<action type="Redirect" url="user-guide/reports-management{R:1}" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule3" stopProcessing="true">
|
|
<match url="^categories-management$" />
|
|
<action type="Redirect" url="user-guide/categories-management" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule4" stopProcessing="true">
|
|
<match url="^data-connections-management$" />
|
|
<action type="Redirect" url="user-guide/data-connections-management" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule5" stopProcessing="true">
|
|
<match url="^scheduled-tasks-management$" />
|
|
<action type="Redirect" url="user-guide/scheduled-tasks-management" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule6" stopProcessing="true">
|
|
<match url="^data-alerts-management$" />
|
|
<action type="Redirect" url="user-guide/data-alerts-management" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule7" stopProcessing="true">
|
|
<match url="search$" />
|
|
<action type="Redirect" url="user-guide/search" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule8" stopProcessing="true">
|
|
<match url="^release-history$" />
|
|
<action type="Redirect" url="implementer-guide/release-history" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule9" stopProcessing="true">
|
|
<match url="^whats-new$" />
|
|
<action type="Redirect" url="implementer-guide/whats-new" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule10" stopProcessing="true">
|
|
<match url="^licensing-and-distribution(.*)$" />
|
|
<action type="Redirect" url="implementer-guide/licensing-and-distribution{R:1}" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule11" stopProcessing="true">
|
|
<match url="^setup(.*)$" />
|
|
<action type="Redirect" url="implementer-guide/setup{R:1}" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule12" stopProcessing="true">
|
|
<match url="^user-management(.*)$" />
|
|
<action type="Redirect" url="implementer-guide/user-management{R:1}" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule13" stopProcessing="true">
|
|
<match url="^apis(.*)$" />
|
|
<action type="Redirect" url="implementer-guide/apis{R:1}" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule14" stopProcessing="true">
|
|
<match url="^reports(.*)$" />
|
|
<action type="Redirect" url="implementer-guide/reports{R:1}" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule15" stopProcessing="true">
|
|
<match url="^upgrade$" />
|
|
<action type="Redirect" url="implementer-guide/setup/upgrade" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule16" stopProcessing="true">
|
|
<match url="^migration-tool$" />
|
|
<action type="Redirect" url="implementer-guide/setup/migration-tool" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule17" stopProcessing="true">
|
|
<match url="^implementer-guide/apis/rest-api/api-reference$" />
|
|
<action type="Redirect" url="implementer-guide/apis/rest-api/v2/api-reference" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule18" stopProcessing="true">
|
|
<match url="^implementer-guide/apis/rest-api/examples/javascript/export$" />
|
|
<action type="Redirect" url="implementer-guide/apis/rest-api/v2/examples/javascript/export" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule19" stopProcessing="true">
|
|
<match url="^implementer-guide/apis/rest-api/examples/javascript/get-resources$" />
|
|
<action type="Redirect" url="implementer-guide/apis/rest-api/v2/examples/javascript/get-resources" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule20" stopProcessing="true">
|
|
<match url="^implementer-guide/apis/rest-api/examples/javascript/login$" />
|
|
<action type="Redirect" url="implementer-guide/apis/rest-api/v2/examples/javascript/login" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule21" stopProcessing="true">
|
|
<match url="^implementer-guide/apis/rest-api/((?!v1|v2|overview|report-server-api-client).*)$" />
|
|
<action type="Redirect" url="implementer-guide/apis/rest-api/v1/{R:1}" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule22" stopProcessing="true">
|
|
<match url="^implementer-guide/setup/storage-settings$" />
|
|
<action type="Redirect" url="implementer-guide/configuration/storage-settings" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule23" stopProcessing="true">
|
|
<match url="^implementer-guide/setup/whitelabeling$" />
|
|
<action type="Redirect" url="implementer-guide/configuration/whitelabeling" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule24" stopProcessing="true">
|
|
<match url="^implementer-guide/setup/mail-templates$" />
|
|
<action type="Redirect" url="implementer-guide/configuration/mail-templates" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
<rule name="rule25" stopProcessing="true">
|
|
<match url="^implementer-guide/setup/login-using-ext-auth-provider$" />
|
|
<action type="Redirect" url="implementer-guide/configuration/login-using-ext-auth-provider" redirectType="Permanent" appendQueryString="false" />
|
|
</rule>
|
|
</rules>
|
|
</rewrite>
|
|
<httpProtocol>
|
|
<customHeaders>
|
|
<add name="Cache-Control" value="no-cache" />
|
|
</customHeaders>
|
|
</httpProtocol>
|
|
|
|
<staticContent>
|
|
<remove fileExtension=".json" />
|
|
<mimeMap fileExtension=".json" mimeType="application/json" />
|
|
<remove fileExtension=".woff" />
|
|
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
|
|
</staticContent>
|
|
<httpErrors errorMode="Custom" defaultResponseMode="File">
|
|
<remove statusCode="404" />
|
|
<error statusCode="404" path="40x.html" />
|
|
</httpErrors>
|
|
</system.webServer>
|
|
|
|
</configuration>
|