правка deploy

This commit is contained in:
Alexey Bannov 2019-03-04 15:24:29 +03:00
parent 68013587de
commit 953a56b549
4 changed files with 350 additions and 331 deletions

View File

@ -10,7 +10,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<LastUsedPlatform>Any CPU</LastUsedPlatform> <LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish /> <SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish> <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data> <ExcludeApp_Data>True</ExcludeApp_Data>
<MSDeployServiceURL>helpcenter.r7-office.ru</MSDeployServiceURL> <MSDeployServiceURL>helpcenter.r7-office.ru</MSDeployServiceURL>
<DeployIisAppPath>helpcenter.r7-office.ru</DeployIisAppPath> <DeployIisAppPath>helpcenter.r7-office.ru</DeployIisAppPath>
<RemoteSitePhysicalPath /> <RemoteSitePhysicalPath />
@ -22,6 +22,26 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<PrecompileBeforePublish>True</PrecompileBeforePublish> <PrecompileBeforePublish>True</PrecompileBeforePublish>
<EnableUpdateable>True</EnableUpdateable> <EnableUpdateable>True</EnableUpdateable>
<DebugSymbols>False</DebugSymbols> <DebugSymbols>False</DebugSymbols>
<WDPMergeOption>DonotMerge</WDPMergeOption> <WDPMergeOption>MergeAllPagesAndControlToASingleAssembly</WDPMergeOption>
<UseMerge>True</UseMerge>
<ContentAssemblyName>ASC.Merge.dll</ContentAssemblyName>
</PropertyGroup>
<Target Name="CustomCollectFiles">
<ItemGroup>
<_XMLFiles Include="Bin\*.xml" />
<_ConfigFiles Include="web.autofac.config" />
<FilesForPackagingFromProject Include="%(_XMLFiles.Identity)">
<DestinationRelativePath>Bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
</FilesForPackagingFromProject>
<FilesForPackagingFromProject Include="%(_ConfigFiles.Identity)">
<DestinationRelativePath>%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
</FilesForPackagingFromProject>
</ItemGroup>
</Target>
<PropertyGroup>
<CopyAllFilesToSingleFolderForPackageDependsOn>CustomCollectFiles;
;</CopyAllFilesToSingleFolderForPackageDependsOn>
<CopyAllFilesToSingleFolderForMsdeployDependsOn>CustomCollectFiles;
;</CopyAllFilesToSingleFolderForMsdeployDependsOn>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -7,9 +7,8 @@
<system.webServer> <system.webServer>
<rewrite> <rewrite>
<rules> <rules>
<clear /> <clear />
<rule name="pages HTTP to HTTPS" enabled="true" stopProcessing="true" xdt:Transform="Insert"> <rule name="pages HTTP to HTTPS" enabled="true" stopProcessing="true" xdt:Transform="SetAttributes(enabled)" xdt:Locator="Match(name)">
<match url="^blog" negate="true" />
<conditions> <conditions>
<add input="{HTTPS}" pattern="off" /> <add input="{HTTPS}" pattern="off" />
</conditions> </conditions>

View File

@ -1,325 +1,325 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<configuration> <configuration>
<configSections> <configSections>
<section name="autofac" type="ASC.Common.DependencyInjection.AutofacConfigurationSection, ASC.Common"/> <section name="autofac" type="ASC.Common.DependencyInjection.AutofacConfigurationSection, ASC.Common"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
<section name="storage" type="ASC.Data.Storage.Configuration.StorageConfigurationSection, ASC.Data.Storage"/> <section name="storage" type="ASC.Data.Storage.Configuration.StorageConfigurationSection, ASC.Data.Storage"/>
<section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionHandler, dotless.Core" /> <section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionHandler, dotless.Core"/>
</configSections> </configSections>
<runtime> <runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin\Newtonsoft.Json.3.5"/> <probing privatePath="bin\Newtonsoft.Json.3.5"/>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
<bindingRedirect oldVersion="1.0.0.0-11.0.0.0" newVersion="11.0.0.0"/> <bindingRedirect oldVersion="1.0.0.0-11.0.0.0" newVersion="11.0.0.0"/>
</dependentAssembly> </dependentAssembly>
<!--<dependentAssembly> </assemblyBinding>
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a"/> </runtime>
<bindingRedirect oldVersion="1.0.0.0-2.0.8.0" newVersion="2.0.8.0"/> <appSettings>
</dependentAssembly>--> <clear/>
</assemblyBinding> <add key="core.base-domain" value="teamlab.com"/>
</runtime> <add key="core.region-map" value="com"/>
<appSettings> <add key="cache-loc-content-filenames" value="false"/>
<clear/> <add key="locale-mod" value=""/>
<add key="core.base-domain" value="teamlab.com"/> <add key="locale-enabled" value="de-DE, fr-FR, es-ES, ru-RU, it-IT"/>
<add key="core.region-map" value="com"/> <add key="web.client.cache" value="false"/>
<add key="cache-loc-content-filenames" value="false"/> <add key="web.client.bundling" value="false"/>
<add key="locale-mod" value=""/> <add key="web.client.store" value="false"/>
<add key="locale-enabled" value="de-DE, fr-FR, es-ES, ru-RU, it-IT"/> <add key="web.client.store.gzip" value="false"/>
<add key="web.client.cache" value="false"/> <add key="web.doc.teamlab" value="http://192.168.4.102:8081"/>
<add key="web.client.bundling" value="false"/> <add key="core.notify.postman" value="log"/>
<add key="web.client.store" value="false"/> <add key="core.notify.from" value="Cloud Office Applications"/>
<add key="web.client.store.gzip" value="false"/> <add key="hosted" value="false"/>
<add key="web.doc.teamlab" value="http://192.168.4.102:8081"/> <add key="enabled_response_formats" value=".json|.xml"/>
<add key="core.notify.postman" value="log"/> <add key="google.search.url" value="https://www.googleapis.com/customsearch/v1"/>
<add key="core.notify.from" value="Cloud Office Applications"/> <add key="google.search.cx" value="008948232141094346324:glg8zifznm8"/>
<add key="hosted" value="false"/> <add key="google.search.key" value="AIzaSyCdJDyP6pf-C98Rr2aSzZW1GJbHd6iD7QY"/>
<add key="enabled_response_formats" value=".json|.xml"/> </appSettings>
<add key="google.search.url" value="https://www.googleapis.com/customsearch/v1"/> <autofac configSource="web.autofac.config"/>
<add key="google.search.cx" value="008948232141094346324:glg8zifznm8"/> <!--
<add key="google.search.key" value="AIzaSyCdJDyP6pf-C98Rr2aSzZW1GJbHd6iD7QY"/> For a description of web.config changes for .NET 4.5 see http://go.microsoft.com/fwlink/?LinkId=235367.
</appSettings>
<autofac configSource="web.autofac.config"/> The following attributes can be set on the <httpRuntime> tag.
<system.web> <system.Web>
<customErrors mode="Off"/> <httpRuntime targetFramework="4.5" />
<compilation debug="true" targetFramework="4.7.2"> </system.Web>
<assemblies> -->
<add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <system.web>
<add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <customErrors mode="Off"/>
<add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <compilation debug="true" targetFramework="4.7.2">
<add assembly="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <assemblies>
<add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.DirectoryServices.Protocols, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.DirectoryServices.Protocols, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.RegularExpressions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web.RegularExpressions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.Services.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Services.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Data.Services.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Data.Services.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a"/> <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies> <add assembly="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a"/>
</compilation> </assemblies>
<pages pageBaseType="BasePage" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/> </compilation>
<httpHandlers> <pages pageBaseType="BasePage" controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID"/>
<add verb="*" path="*.less" type="dotless.Core.LessCssHttpHandler, dotless.Core" validate="false" /> <httpHandlers>
</httpHandlers> <add verb="*" path="*.less" type="dotless.Core.LessCssHttpHandler, dotless.Core" validate="false"/>
</system.web> </httpHandlers>
<system.webServer> </system.web>
<validation validateIntegratedModeConfiguration="false"/> <system.webServer>
<rewrite> <validation validateIntegratedModeConfiguration="false"/>
<rules> <rewrite>
<clear/> <rules>
<rule name="pages HTTP to HTTPS" enabled="false" stopProcessing="true"> <clear/>
<conditions> <rule name="pages HTTP to HTTPS" enabled="false" stopProcessing="true">
<add input="{HTTPS}" pattern="off" /> <conditions>
</conditions> <add input="{HTTPS}" pattern="off"/>
<action type="Redirect" url="https://{HTTP_HOST}{URL}" appendQueryString="true" redirectType="Found" /> </conditions>
</rule> <action type="Redirect" url="https://{HTTP_HOST}{URL}" appendQueryString="true" redirectType="Found"/>
<rule name="redirect-helpcenter" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="helpcenter.aspx"/> <rule name="redirect-helpcenter" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx"/> <match url="helpcenter.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-Default" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="Default.aspx"/> <rule name="redirect-Default" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx"/> <match url="Default.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-HowTo" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="HowTo.aspx"/> <rule name="redirect-HowTo" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx"/> <match url="HowTo.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-AdministratorGuides" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="AdministratorGuides.aspx" /> <rule name="redirect-AdministratorGuides" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx" /> <match url="AdministratorGuides.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-GettingStarted" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="GettingStarted.aspx" /> <rule name="redirect-GettingStarted" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx" /> <match url="GettingStarted.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-Guides" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="Guides.aspx" /> <rule name="redirect-Guides" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx" /> <match url="Guides.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-TipsTricks" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="TipsTricks.aspx" /> <rule name="redirect-TipsTricks" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx" /> <match url="TipsTricks.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-contributors-guides" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="contributors-guides.aspx" /> <rule name="redirect-contributors-guides" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx" /> <match url="contributors-guides.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-faq-hybrid" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="faq/hybrid.aspx" /> <rule name="redirect-faq-hybrid" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx" /> <match url="faq/hybrid.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-faq-office-apps" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="faq/office-apps.aspx" /> <rule name="redirect-faq-office-apps" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx" /> <match url="faq/office-apps.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-faq-partners" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="faq/partners.aspx" /> <rule name="redirect-faq-partners" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx" /> <match url="faq/partners.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-faq-server" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="faq/server.aspx" /> <rule name="redirect-faq-server" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx" /> <match url="faq/server.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-Install-enterprise" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="guides/Install-enterprise.aspx" /> <rule name="redirect-Install-enterprise" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="server/windows/community/install-enterprise.aspx" /> <match url="guides/Install-enterprise.aspx"/>
</rule> <action type="Redirect" url="server/windows/community/install-enterprise.aspx"/>
<rule name="redirect-Install-office-apps" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="guides/Install-office-apps.aspx" /> <rule name="redirect-Install-office-apps" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="server/windows/document/install-office-apps.aspx" /> <match url="guides/Install-office-apps.aspx"/>
</rule> <action type="Redirect" url="server/windows/document/install-office-apps.aspx"/>
<rule name="redirect-troubleshooting-old" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="troubleshooting.aspx" /> <rule name="redirect-troubleshooting-old" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="server/windows/community/troubleshooting.aspx" /> <match url="troubleshooting.aspx"/>
</rule> <action type="Redirect" url="server/windows/community/troubleshooting.aspx"/>
<rule name="redirect-troubleshooting-server" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="troubleshooting/server.aspx" /> <rule name="redirect-troubleshooting-server" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="server/windows/community/troubleshooting.aspx" /> <match url="troubleshooting/server.aspx"/>
</rule> <action type="Redirect" url="server/windows/community/troubleshooting.aspx"/>
<rule name="redirect-Mobile-Applications-Projects" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="Mobile-Applications/Projects/index.aspx" /> <rule name="redirect-Mobile-Applications-Projects" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="Mobile-Applications/Documents/index.aspx" /> <match url="Mobile-Applications/Projects/index.aspx"/>
</rule> <action type="Redirect" url="Mobile-Applications/Documents/index.aspx"/>
<rule name="redirect-Mobile-Applications-common" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="Mobile-Applications/index.aspx" /> <rule name="redirect-Mobile-Applications-common" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="Mobile-Applications/Documents/index.aspx" /> <match url="Mobile-Applications/index.aspx"/>
</rule> <action type="Redirect" url="Mobile-Applications/Documents/index.aspx"/>
<rule name="redirect-pdfhowto" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="pdfhowto.aspx" /> <rule name="redirect-pdfhowto" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx" /> <match url="pdfhowto.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-cs-open-ports" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="server/windows/community/open-ports.aspx" /> <rule name="redirect-cs-open-ports" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="server/docker/community/open-ports.aspx" /> <match url="server/windows/community/open-ports.aspx"/>
</rule> <action type="Redirect" url="server/docker/community/open-ports.aspx"/>
<rule name="redirect-cs-open-ports-2" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="server/linux/community/open-ports.aspx" /> <rule name="redirect-cs-open-ports-2" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="server/docker/community/open-ports.aspx" /> <match url="server/linux/community/open-ports.aspx"/>
</rule> <action type="Redirect" url="server/docker/community/open-ports.aspx"/>
<rule name="redirect-ds-open-ports" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="server/windows/document/open-ports.aspx" /> <rule name="redirect-ds-open-ports" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="server/docker/document/open-ports.aspx" /> <match url="server/windows/document/open-ports.aspx"/>
</rule> <action type="Redirect" url="server/docker/document/open-ports.aspx"/>
<rule name="redirect-ds-open-ports-2" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="server/linux/document/open-ports.aspx" /> <rule name="redirect-ds-open-ports-2" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="server/docker/document/open-ports.aspx" /> <match url="server/linux/document/open-ports.aspx"/>
</rule> <action type="Redirect" url="server/docker/document/open-ports.aspx"/>
<rule name="redirect-doc-enterprise-36" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="server/linux/document/linux-installation-enterprise-36.aspx" /> <rule name="redirect-doc-enterprise-36" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="server/linux/document/linux-installation-enterprise.aspx" /> <match url="server/linux/document/linux-installation-enterprise-36.aspx"/>
</rule> <action type="Redirect" url="server/linux/document/linux-installation-enterprise.aspx"/>
<rule name="redirect-mobile-basic-operations" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="Mobile-Applications/Documents/basic-operations.aspx" /> <rule name="redirect-mobile-basic-operations" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="mobile-applications/documents/document-editor/basic-operations/navigate-document.aspx" /> <match url="Mobile-Applications/Documents/basic-operations.aspx"/>
</rule> <action type="Redirect" url="mobile-applications/documents/document-editor/basic-operations/navigate-document.aspx"/>
<rule name="redirect-mobile-page-formatting" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="Mobile-Applications/Documents/page-formatting.aspx" /> <rule name="redirect-mobile-page-formatting" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="mobile-applications/documents/document-editor/page-formatting/set-page-parameters.aspx" /> <match url="Mobile-Applications/Documents/page-formatting.aspx"/>
</rule> <action type="Redirect" url="mobile-applications/documents/document-editor/page-formatting/set-page-parameters.aspx"/>
<rule name="redirect-mobile-paragraph-formatting" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="Mobile-Applications/Documents/paragraph-formatting.aspx" /> <rule name="redirect-mobile-paragraph-formatting" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="mobile-applications/documents/document-editor/page-formatting/set-page-parameters.aspx" /> <match url="Mobile-Applications/Documents/paragraph-formatting.aspx"/>
</rule> <action type="Redirect" url="mobile-applications/documents/document-editor/page-formatting/set-page-parameters.aspx"/>
<rule name="redirect-mobile-text-formatting" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="Mobile-Applications/Documents/text-formatting.aspx" /> <rule name="redirect-mobile-text-formatting" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="mobile-applications/documents/document-editor/text-formatting/set-font-type-size-color.aspx" /> <match url="Mobile-Applications/Documents/text-formatting.aspx"/>
</rule> <action type="Redirect" url="mobile-applications/documents/document-editor/text-formatting/set-font-type-size-color.aspx"/>
<rule name="redirect-mobile-operations-on-objects" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="Mobile-Applications/Documents/operations-on-objects.aspx" /> <rule name="redirect-mobile-operations-on-objects" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="mobile-applications/documents/document-editor/operations-on-objects/insert-tables.aspx" /> <match url="Mobile-Applications/Documents/operations-on-objects.aspx"/>
</rule> <action type="Redirect" url="mobile-applications/documents/document-editor/operations-on-objects/insert-tables.aspx"/>
<rule name="redirect-mobile-tools-and-settings" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="Mobile-Applications/Documents/tools-and-settings.aspx" /> <rule name="redirect-mobile-tools-and-settings" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="mobile-applications/documents/document-editor/tools-and-settings/view-document-information.aspx" /> <match url="Mobile-Applications/Documents/tools-and-settings.aspx"/>
</rule> <action type="Redirect" url="mobile-applications/documents/document-editor/tools-and-settings/view-document-information.aspx"/>
<rule name="redirect-document-builder" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="*/document-builder/*" /> <rule name="redirect-document-builder" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="https://api.onlyoffice.com/docbuilder/basic" /> <match url="*/document-builder/*"/>
</rule> <action type="Redirect" url="https://api.onlyoffice.com/docbuilder/basic"/>
<rule name="redirect-sso" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="tipstricks/sso-setup.aspx" /> <rule name="redirect-sso" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="server/controlpanel/enterprise/sso-description.aspx" /> <match url="tipstricks/sso-setup.aspx"/>
</rule> <action type="Redirect" url="server/controlpanel/enterprise/sso-description.aspx"/>
<rule name="redirect-exchange-migrate" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="server/linux/enterprise/import-email-from-exchange.aspx" /> <rule name="redirect-exchange-migrate" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="server/docker/enterprise/migrate-from-exchange.aspx" /> <match url="server/linux/enterprise/import-email-from-exchange.aspx"/>
</rule> <action type="Redirect" url="server/docker/enterprise/migrate-from-exchange.aspx"/>
<rule name="redirect-importing-files" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="tipstricks/importing-files.aspx" /> <rule name="redirect-importing-files" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="index.aspx" /> <match url="tipstricks/importing-files.aspx"/>
</rule> <action type="Redirect" url="index.aspx"/>
<rule name="redirect-create-forms" patternSyntax="Wildcard" stopProcessing="true"> </rule>
<match url="ONLYOFFICE-Editors/ONLYOFFICE-Document-Editor/UsageInstructions/InsertRichTextContentControls.aspx" /> <rule name="redirect-create-forms" patternSyntax="Wildcard" stopProcessing="true">
<action type="Redirect" url="ONLYOFFICE-Editors/ONLYOFFICE-Document-Editor/index.aspx" /> <match url="ONLYOFFICE-Editors/ONLYOFFICE-Document-Editor/UsageInstructions/InsertRichTextContentControls.aspx"/>
</rule> <action type="Redirect" url="ONLYOFFICE-Editors/ONLYOFFICE-Document-Editor/index.aspx"/>
</rules> </rule>
</rewrite> </rules>
<security> </rewrite>
<requestFiltering> <security>
<hiddenSegments> <requestFiltering>
<remove segment="App_Data"/> <hiddenSegments>
</hiddenSegments> <remove segment="App_Data"/>
</requestFiltering> </hiddenSegments>
</security> </requestFiltering>
<httpErrors errorMode="Custom"> </security>
<remove statusCode="403" subStatusCode="-1"/> <httpErrors errorMode="Custom">
<error statusCode="403" prefixLanguageFilePath="" path="403.htm" responseMode="File"/> <remove statusCode="403" subStatusCode="-1"/>
<remove statusCode="404" subStatusCode="-1"/> <error statusCode="403" prefixLanguageFilePath="" path="403.htm" responseMode="File"/>
<error statusCode="404" prefixLanguageFilePath="" path="404.htm" responseMode="File"/> <remove statusCode="404" subStatusCode="-1"/>
<remove statusCode="500" subStatusCode="-1"/> <error statusCode="404" prefixLanguageFilePath="" path="404.htm" responseMode="File"/>
<error statusCode="500" prefixLanguageFilePath="" path="500.htm" responseMode="File"/> <remove statusCode="500" subStatusCode="-1"/>
</httpErrors> <error statusCode="500" prefixLanguageFilePath="" path="500.htm" responseMode="File"/>
<handlers> </httpErrors>
<remove name="UrlRoutingHandler"/> <handlers>
<remove name="AjaxPoster"/> <remove name="UrlRoutingHandler"/>
<remove name="AdminAjaxPoster"/> <remove name="AjaxPoster"/>
<remove name="BannerPoster"/> <remove name="AdminAjaxPoster"/>
<remove name="less" /> <remove name="BannerPoster"/>
<add name="less" verb="*" path="*.less" type="dotless.Core.LessCssHttpHandler, dotless.Core" /> <remove name="less"/>
</handlers> <add name="less" verb="*" path="*.less" type="dotless.Core.LessCssHttpHandler, dotless.Core"/>
<urlCompression doStaticCompression="true" doDynamicCompression="true"/> </handlers>
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"> <urlCompression doStaticCompression="true" doDynamicCompression="true"/>
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/> <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
<dynamicTypes> <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/>
<add mimeType="text/*" enabled="true"/> <dynamicTypes>
<add mimeType="message/*" enabled="true"/> <add mimeType="text/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/> <add mimeType="message/*" enabled="true"/>
<add mimeType="*/*" enabled="false"/> <add mimeType="application/javascript" enabled="true"/>
</dynamicTypes> <add mimeType="*/*" enabled="false"/>
<staticTypes> </dynamicTypes>
<add mimeType="text/*" enabled="true"/> <staticTypes>
<add mimeType="message/*" enabled="true"/> <add mimeType="text/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/> <add mimeType="message/*" enabled="true"/>
<add mimeType="*/*" enabled="false"/> <add mimeType="application/javascript" enabled="true"/>
</staticTypes> <add mimeType="*/*" enabled="false"/>
</httpCompression> </staticTypes>
<staticContent> </httpCompression>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00"/> <staticContent>
<remove fileExtension=".js"/> <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00"/>
<mimeMap fileExtension=".js" mimeType="application/javascript"/> <remove fileExtension=".js"/>
<remove fileExtension=".png"/> <mimeMap fileExtension=".js" mimeType="application/javascript"/>
<mimeMap fileExtension=".png" mimeType="image/png"/> <remove fileExtension=".png"/>
<remove fileExtension=".ico"/> <mimeMap fileExtension=".png" mimeType="image/png"/>
<mimeMap fileExtension=".ico" mimeType="image/icon"/> <remove fileExtension=".ico"/>
<remove fileExtension=".json" /> <mimeMap fileExtension=".ico" mimeType="image/icon"/>
<mimeMap fileExtension=".json" mimeType="application/json" /> <remove fileExtension=".json"/>
<remove fileExtension=".less" /> <mimeMap fileExtension=".json" mimeType="application/json"/>
<mimeMap fileExtension=".less" mimeType="text/css" /> <remove fileExtension=".less"/>
</staticContent> <mimeMap fileExtension=".less" mimeType="text/css"/>
<defaultDocument> </staticContent>
<files> <defaultDocument>
<add value="index.aspx"/> <files>
</files> <add value="index.aspx"/>
</defaultDocument> </files>
</system.webServer> </defaultDocument>
<storage> </system.webServer>
<appender> <storage>
<clear/> <appender>
<add name="generic" append="~/"/> <clear/>
</appender> <add name="generic" append="~/"/>
<handler> </appender>
<clear/> <handler>
<add name="disc" type="ASC.Data.Storage.DiscStorage.DiscDataStore, ASC.Data.Storage"/> <clear/>
</handler> <add name="disc" type="ASC.Data.Storage.DiscStorage.DiscDataStore, ASC.Data.Storage"/>
<module> </handler>
<clear/> <module>
<add name="common_static" type="disc" path="/" acl="Read" virtualpath="~/" appendTenantId="false"/> <clear/>
</module> <add name="common_static" type="disc" path="/" acl="Read" virtualpath="~/" appendTenantId="false"/>
</storage> </module>
<dotless minifyCss="true" cache="true" /> </storage>
<log4net> <dotless minifyCss="true" cache="true"/>
<logger name="ASC"> <log4net>
<appender-ref ref="Site" /> <logger name="ASC">
<level value="ALL" /> <appender-ref ref="Site"/>
</logger> <level value="ALL"/>
</logger>
<appender name="Site" type="ASC.Common.Logging.SelfCleaningAppender, ASC.Common"> <appender name="Site" type="ASC.Common.Logging.SelfCleaningAppender, ASC.Common">
<file value="..\Logs\Site.log" /> <file value="..\Logs\Site.log"/>
<encoding value="utf-8" /> <encoding value="utf-8"/>
<rollingstyle value="Size" /> <rollingstyle value="Size"/>
<maxsizerollbackups value="10" /> <maxsizerollbackups value="10"/>
<maximumfilesize value="200MB" /> <maximumfilesize value="200MB"/>
<staticlogfilename value="true" /> <staticlogfilename value="true"/>
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level [%thread] %logger - %message%newline" /> <conversionPattern value="%date %-5level [%thread] %logger - %message%newline"/>
</layout> </layout>
</appender> </appender>
</log4net> </log4net>
</configuration> </configuration>

View File

@ -19,7 +19,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
<ProjectGuid>{17ba3e67-bcbd-4ac5-8cd9-b1bf56a1907e}</ProjectGuid> <ProjectGuid>{17ba3e67-bcbd-4ac5-8cd9-b1bf56a1907e}</ProjectGuid>
<SourceWebPhysicalPath>$(MSBuildThisFileDirectory)</SourceWebPhysicalPath> <SourceWebPhysicalPath>$(MSBuildThisFileDirectory)</SourceWebPhysicalPath>
<SourceWebVirtualPath>/Web</SourceWebVirtualPath> <SourceWebVirtualPath>/Web</SourceWebVirtualPath>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<SourceWebProject> <SourceWebProject>
</SourceWebProject> </SourceWebProject>
<SourceWebMetabasePath> <SourceWebMetabasePath>