Return to doc.sitecore.com

  Configuration file changes in Sitecore CMS and DMS 6.6.0 rev. 131211 compared to CMS and DMS 6.6.0 rev.130529.

Config file changes in Sitecore CMS and DMS 6.6.0 rev. 131211 compared to CMS and DMS 6.6.0 rev.130529


This update requires you to make changes to the following files:

The clean config files for Sitecore CMS and DMS 6.6.0 rev. 131211 can be downloaded using the following links:

Changes to the Web.config file

The following changes have been made to the Web.config file of Sitecore CMS 6.6.0 rev. 131211 (Update-7) as compared to the Web.config file of Sitecore CMS 6.6.0 rev. 130529 (Update-6):

  1. In the <switchingProviders><roleManager> section, add the following two attributes ignoredUserDomains="" and allowedUserDomains="" to the provider with providerName="sql". This step is optional, you can skip it unless you plan to use these attributes.
    <provider providerName="sql" storeFullNames="true" wildcard="%" domains="*" ignoredUserDomains="" allowedUserDomains="" />
  2. In the <switchingProviders><profile> section, add the following attribute ignoredDomains="" to the provider with providerName="sql". This step is optional, you can skip it unless you plan to use this attribute.
    <provider providerName="sql" storeFullNames="true" wildcard="%" domains="*" ignoredDomains="" />
  3. In the <settings> section, add the following setting, before the "Indexing.UpdateInterval " setting:
    <!--  INDEXING DISABLE DATABASE CACHES
          Indicates whether or not to populate database caches with data retrieved during indexing.
          If true, Sitecore indexes every version and language of the items as usual, but does not cache this item data in the database
          caches. This can reduce the amount of memory used for cached data and improve performance, especially in solutions with a large
          number of items, versions, and languages.
          If false, Sitecore indexes every version and language of the items and caches the item data in the database caches.
          Default value: false
    -->
    <setting name="Indexing.DisableDatabaseCaches" value="false" />
  4. In the <settings> section, add the following setting, before the "Languages.AutoRemoveItemData" setting:
    <!--  LANGUAGES ALWAYS STRIP LANGUAGE
          This setting specifies if the StripLanguage processor in the <preprocessRequest> pipeline will parse and remove languages from
          the URL, even when the languageEmbedding attribute of the linkProvider is set to "never". You should only change this setting
          to "false" if the default behavior causes problems in your solution.
          Default value: true
    -->
    <setting name="Languages.AlwaysStripLanguage" value="true" />
  5. In the <settings> section, add the following setting, before the "Login.DisableChangePassword" setting:
    <!--  LOGIN DISABLE AUTOCOMPLETE
          If true, an autocomplete="off" attribute is added on the Sitecore login forms on the /sitecore/login/default.html and
          /sitecore/admin/login.html pages. This is useful, for example, if you don’t want user names to be disclosed when editors
          log into Sitecore on shared/public computers.
          Default value: false
    -->
    <setting name="Login.DisableAutoComplete" value="false" />
  6. In the <settings> section, add the following setting, after the "Login.DisablePasswordRecovery" setting:
    <!--  LOGIN DISABLE REMEMBER ME
          If true, Sitecore disables the "Remember me" checkbox on the login page.
          Default: false
    -->
    <setting name="Login.DisableRememberMe" value="false" />
  7. Note: The following steps should only be performed if you have configured your solution to use the Sitecore serialization event handlers which automatically serialize item changes. If you are using these event handlers, you must add two event handlers to the configuration. Add the following event handler to the <event name="item:copied"> node:
    <event name="item:copied">
      <handler type="Sitecore.Data.Serialization.ItemHandler, Sitecore.Kernel" method="OnItemCopied"/>
    </event>
    And add the following event handler to the <event name="item:renamed"> node:<event name="item:renamed">
      <handler type="Sitecore.Data.Serialization.ItemHandler, Sitecore.Kernel" method="OnItemRenamed"/>
    </event>