Advertisement
thebossnt

Untitled

Aug 22nd, 2019
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 15.13 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3.   <configSections>
  4.     <!-- Content staging BEGIN -->
  5.     <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  6.     <!-- Content staging END -->
  7.     <!-- AjaxControlToolkit BEGIN -->
  8.     <section name="ajaxControlToolkit" type="AjaxControlToolkit.AjaxControlToolkitConfigSection, AjaxControlToolkit" requirePermission="false" />
  9.     <!-- AjaxControlToolkit END -->
  10.   </configSections>
  11.   <appSettings>
  12.     <add key="CMSProgrammingLanguage" value="C#" />
  13.     <add key="WS.webservice" value="http://localhost/WebService/webservice.asmx" />
  14.     <add key="CMSTrialKey" value="CX11-20180913-aFmN+t" />
  15.     <add key="ChartImageHandler" value="storage=session;timeout=20;" />
  16.     <add key="PageInspector:ServerCodeMappingSupport" value="Disabled" />
  17.     <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
  18.     <add key="CMSApplicationGuid" value="46a01955-9b11-45fa-a44a-b4fc62f99fd1" />
  19.     <add key="CMSApplicationName" value="Default Web Site/test" />
  20.     <!-- Note: Changing the 'CMSHashStringSalt' value may prevent macros from resolving correctly, and break dialog links and images on your website.
  21.    To fix these issues, you need to globally re-sign macros in 'System -> Macros -> Signatures' or manually re-save the affected content. -->
  22.     <add key="CMSHashStringSalt" value="2fef8d6e-d1be-4874-914d-08cbac0cff21" />
  23.     <add key="CMSDisplayApplicationErrorMessages" value="true" />
  24.     <add key="CMSMaxNodeAliasLength" value="250" />
  25.   </appSettings>
  26.   <connectionStrings>
  27.     <clear />
  28.     <add name="CMSConnectionString" connectionString="" />
  29.   </connectionStrings>
  30.   <!--
  31.    For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
  32.  
  33.    The following attributes can be set on the <httpRuntime> tag.
  34.      <system.Web><httpRuntime targetFramework="4.5" /></system.Web>
  35.  -->
  36.   <system.web>
  37.     <pages validateRequest="false" clientIDMode="AutoID">
  38.       <controls>
  39.         <add tagPrefix="cms" namespace="CMS.PortalEngine.Web.UI" assembly="CMS.PortalEngine.Web.UI" />
  40.         <add tagPrefix="cms" namespace="CMS.DocumentEngine.Web.UI" assembly="CMS.DocumentEngine.Web.UI" />
  41.         <add tagPrefix="cms" namespace="CMS.UIControls" assembly="CMS.UIControls" />
  42.         <add tagPrefix="cms" namespace="CMS.FormEngine" assembly="CMS.FormEngine" />
  43.         <add tagPrefix="cms" namespace="CMS.FormEngine.Web.UI" assembly="CMS.FormEngine.Web.UI" />
  44.         <add tagPrefix="cms" namespace="CMS.OnlineForms.Web.UI" assembly="CMS.OnlineForms.Web.UI" />
  45.         <add tagPrefix="cms" namespace="CMS.Base.Web.UI" assembly="CMS.Base.Web.UI" />
  46.         <add tagPrefix="cms" namespace="CMS.TranslationServices.Web.UI" assembly="CMS.TranslationServices.Web.UI" />
  47.         <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  48.         <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  49.         <add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
  50.       </controls>
  51.       <namespaces>
  52.         <add namespace="CMS.Helpers" />
  53.         <add namespace="CMS.Base.Web.UI" />
  54.       </namespaces>
  55.     </pages>
  56.     <customErrors mode="RemoteOnly">
  57.       <error statusCode="500" redirect="~/CMSMessages/Error.aspx" />
  58.     </customErrors>
  59.     <authentication mode="Forms">
  60.       <forms loginUrl="CMSPages/logon.aspx" defaultUrl="Default.aspx" name=".ASPXFORMSAUTH" timeout="60000" slidingExpiration="true" />
  61.     </authentication>
  62.     <httpRuntime enableVersionHeader="false" maxRequestLength="2097151" waitChangeNotification="1" maxWaitChangeNotification="3600" requestValidationMode="2.0" maxUrlLength="1000" targetFramework="4.5" />
  63.     <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" uiCulture="en-US" />
  64.     <membership defaultProvider="CMSProvider" userIsOnlineTimeWindow="30">
  65.       <providers>
  66.         <clear />
  67.         <add name="CMSProvider" type="CMS.MembershipProvider.CMSMembershipProvider" connectionStringName="CMSConnectionString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Hashed" />
  68.       </providers>
  69.     </membership>
  70.     <roleManager defaultProvider="CMSRoleProvider" enabled="true" cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="All">
  71.       <providers>
  72.         <clear />
  73.         <add name="CMSRoleProvider" type="CMS.MembershipProvider.CMSRoleProvider" connectionStringName="CMSConnectionString" applicationName="SampleApplication" writeExceptionsToEventLog="false" />
  74.       </providers>
  75.     </roleManager>
  76.     <xhtmlConformance mode="Strict" />
  77.     <!-- <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" /> -->
  78.     <sessionState mode="InProc" />
  79.     <compilation debug="true" numRecompilesBeforeAppRestart="100" targetFramework="4.6.1">
  80.       <assemblies>
  81.         <add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
  82.         <add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  83.         <add assembly="System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  84.         <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  85.         <add assembly="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  86.         <add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  87.         <add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  88.         <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  89.         <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35" />
  90.         <add assembly="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  91.         <add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
  92.         <add assembly="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
  93.         <add assembly="WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  94.         <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  95.         <add assembly="System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  96.       </assemblies>
  97.     </compilation>
  98.     <httpCookies httpOnlyCookies="true" requireSSL="true" />
  99.   </system.web>
  100.   <!-- Kentico Resource -->
  101.   <!-- Content staging BEGIN -->
  102.   <microsoft.web.services3>
  103.     <security>
  104.       <securityTokenManager>
  105.         <add type="CMS.Synchronization.WSE3.WebServiceAuthorization" namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" localName="UsernameToken" />
  106.       </securityTokenManager>
  107.       <x509 allowTestRoot="true" verifyTrust="true" />
  108.     </security>
  109.     <policy fileName="wse3policy.config" />
  110.     <diagnostics>
  111.       <trace enabled="false" input="InputTrace.webinfo" output="OutputTrace.webinfo" />
  112.     </diagnostics>
  113.   </microsoft.web.services3>
  114.   <!-- Content staging END -->
  115.   <!-- AjaxControlToolkit BEGIN -->
  116.   <ajaxControlToolkit renderStyleLinks="false" />
  117.   <!-- AjaxControlToolkit END -->
  118.   <system.webServer>
  119.     <!--<rewrite><rules><rule name="Redirect Site" patternSyntax="Wildcard" stopProcessing="true"><match url="*" /><conditions><add input="{HTTP_HOST}" pattern="carbon8.com$" negate="true" /></conditions><action type="Redirect" url="https://www.9thwonder.com?d={C:0}" redirectType="Permanent" /></rule></rules></rewrite>-->
  120.     <modules runAllManagedModulesForAllRequests="true">
  121.       <remove name="WebDAVModule" />
  122.       <remove name="XHtmlModule" />
  123.       <remove name="CMSApplicationModule" />
  124.       <add name="XHtmlModule" type="CMS.OutputFilter.OutputFilterModule, CMS.OutputFilter" />
  125.       <add name="CMSApplicationModule" preCondition="managedHandler" type="CMS.Base.ApplicationModule, CMS.Base" />
  126.     </modules>
  127.     <handlers>
  128.       <remove name="WebDAV" />
  129.       <remove name="ChartImageHandler" />
  130.       <add name="ChartImageHandler" preCondition="integratedMode" verb="*" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  131.       <remove name="CMSGetAttachment" />
  132.       <remove name="CMSGetMedia" />
  133.       <remove name="CMSGetMetafile" />
  134.       <remove name="CMSGetFile" />
  135.       <remove name="CMSGetAvatar" />
  136.       <add name="CMSGetAttachment" path="getattachment/*/*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  137.       <add name="CMSGetMedia" path="getmedia/*/*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  138.       <add name="CMSGetMetafile" path="getmetafile/*/*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  139.       <add name="CMSGetFile" path="getfile/*/*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  140.       <add name="CMSGetAvatar" path="getavatar/*/*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  141.     </handlers>
  142.     <staticContent>
  143.       <remove fileExtension=".woff" />
  144.       <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
  145.       <remove fileExtension=".svg" />
  146.       <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
  147.       <remove fileExtension=".nupkg" />
  148.       <mimeMap fileExtension=".nupkg" mimeType="application/zip, application/octet-stream" />
  149.       <remove fileExtension=".webm" />
  150.       <mimeMap fileExtension=".webm" mimeType="video/webm" />
  151.       <remove fileExtension=".mp4" />
  152.       <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
  153.     </staticContent>
  154.     <security>
  155.       <requestFiltering removeServerHeader="true">
  156.         <!-- Disable direct access to these files which are used only internally by CMS application -->
  157.         <denyUrlSequences>
  158.           <add sequence="/CMSTemplates" />
  159.           <add sequence="/CMSPages/PortalTemplate.aspx" />
  160.         </denyUrlSequences>
  161.       </requestFiltering>
  162.     </security>
  163.     <httpProtocol>
  164.       <customHeaders>
  165.         <add name="Access-Control-Allow-Headers" value="Origin, X-Requested-With, Content-Type, Accept" />
  166.         <add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains" />
  167.         <add name="X-Content-Type-Options" value="nosniff" />
  168.         <add name="X-XSS-Protection" value="1; mode=block" />
  169.         <add name="Referrer-Policy" value="no-referrer-when-downgrade" />
  170.         <add name="X-Permitted-Cross-Domain-Policies" value="none" />
  171.         <remove name="X-Powered-By" />
  172.       </customHeaders>
  173.     </httpProtocol>
  174.   </system.webServer>
  175.   <system.serviceModel>
  176.     <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
  177.     <bindings>
  178.       <basicHttpBinding>
  179.         <!-- SalesForce BEGIN -->
  180.         <binding name="SalesForceBinding" transferMode="Buffered" maxReceivedMessageSize="131072">
  181.           <security mode="Transport">
  182.             <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
  183.             <message clientCredentialType="UserName" algorithmSuite="Default" />
  184.           </security>
  185.         </binding>
  186.         <!-- SalesForce END -->
  187.       </basicHttpBinding>
  188.     </bindings>
  189.     <client>
  190.       <!-- SalesForce BEGIN -->
  191.       <endpoint address="https://login.salesforce.com/services/Soap/u/23.0" binding="basicHttpBinding" bindingConfiguration="SalesForceBinding" contract="WebServiceClient.Soap" name="SalesForceClient" />
  192.       <!-- SalesForce END -->
  193.     </client>
  194.   </system.serviceModel>
  195.   <runtime>
  196.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  197.       <dependentAssembly>
  198.         <assemblyIdentity name="Castle.Core" publicKeyToken="407dd0808d44fbdc" culture="neutral" />
  199.         <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  200.       </dependentAssembly>
  201.       <dependentAssembly>
  202.         <assemblyIdentity name="Castle.Windsor" publicKeyToken="407dd0808d44fbdc" culture="neutral" />
  203.         <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  204.       </dependentAssembly>
  205.       <dependentAssembly>
  206.         <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  207.         <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
  208.       </dependentAssembly>
  209.       <dependentAssembly>
  210.         <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  211.         <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" />
  212.       </dependentAssembly>
  213.       <dependentAssembly>
  214.         <assemblyIdentity name="System.Data.HashFunction.Interfaces" publicKeyToken="80c9288e394c1322" culture="neutral" />
  215.         <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  216.       </dependentAssembly>
  217.       <dependentAssembly>
  218.         <assemblyIdentity name="System.Data.HashFunction.Core" publicKeyToken="80c9288e394c1322" culture="neutral" />
  219.         <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  220.       </dependentAssembly>
  221.       <dependentAssembly>
  222.         <assemblyIdentity name="System.Data.HashFunction.CRC" publicKeyToken="80c9288e394c1322" culture="neutral" />
  223.         <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  224.       </dependentAssembly>
  225.     </assemblyBinding>
  226.   </runtime>
  227.   <system.codedom>
  228.     <compilers>
  229.       <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
  230.       <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
  231.     </compilers>
  232.   </system.codedom>
  233.  
  234. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement