Return to doc.sitecore.com

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

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

The clean config files for Sitecore CMS and DMS 6.6.0 rev. 130529 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. 130529  (Update-6) as compared to the Web.config file of Sitecore CMS 6.6.0 rev. 130404 (Update-5):

  1. In the comment above the <sites> section, add the following description of the targetHostName attribute: 
    targetHostName: The host name to use when generating URLs to items within this site from the context of another site. If the targetHostName attribute is absent, Sitecore uses the value of the hostName attribute instead. Used only when the value of the Rendering.SiteResolving setting is true.

    The entire comment above the <sites> section now looks like this in a default Sitecore installation: 
    <!--  SITES
          Enable different web sites for different domains in the same Sitecore structure
          Supported attributes:
              mode: [on|off]. If set to 'off', the site will be disabled. Default value: 'on'.
              name: Name of the site.
              hostName: The host name of the incoming url. May include wildcards (ex. www.site.net, *.site.net, *.net, pda.*, print.*.net)
                        It's possible to set more than one mask by using '|' symbol as a separator (ex. pda.*|print.*.net)
              targetHostName: The host name to use when generating URLs to items within this site from the context of another site.
                              If the targetHostName attribute is absent, Sitecore uses the value of the hostName attribute instead.
                              Used only when the value of the Rendering.SiteResolving setting is true.
              port: The port number of the incoming url. Default value: 80
              virtualFolder: The prefix to match for incoming URL's.
                             This value will be removed from the URL and the remainder will be treated as the item path.
              physicalFolder: The physical location of files for the site.
                              If the site is based on physical files, this is the path to the folder holding the files.
                              For non-physical sites, this is the place where Sitecore looks for a default.html file (to start the pipelines).
              rootPath: The path to the root item of the site.
                        The item path specified in the URL will be appended to this value to find the item.
              startItem: The path to the start item of the site.
                         This is used as the default item path if no path is specified in the URL.
                         It will be combined with rootPath to find the default item of the site.
              language: Default language for the site.
              database: Database containing items to be used for rendering the site.
              content: Database containing items to be edited.
              contentLanguage: The default editing language in the client.
              contentStartItem: The path to the start item when using the client.
              masterDatabase: The database containing the data to be shown in preview and web edit modes.
              device: The name of the device to use for the site. If not specified, the device resolver will find a 'best match device'.
              filterItems: If true, the site will always show the current version of an item (without publishing)
              filteredItemsCacheSize: The size of the cache used to store filtered items. Specify the value in bytes or append the value with KB, MB or GB
              cacheHtml: If true, HTML caching will be enabled. If false, no HTML will be cached for any rendering. Default value: false.
              htmlCacheSize: The size of the html cache. Specify the value in bytes or append the value with KB, MB or GB
              cacheMedia: If true, media caching will be enabled. If false, no media will be cached. Default value: true.
              mediaCachePath: The path to the folder where media data will be cached. Default value: {temp folder}/{site name}/mediacache.
              domain: The security domain of the site.
              requireLogin: If true, login will be required to enter the site.
              loginPage: The path to the login page to use. Must point to a physical file or a page in a site that does NOT require login.
              enableDebugger: Indicates if the debugger is enabled on the site. Typically this is only the website.
              enablePreview: Indicates if preview is enabled on the site. Typically this is only the website.
              enableWebEdit: Indicates if WebEdit is enabled on the site. Typically this is only the website.
              enableWorkflow: Must be true to enable workflows for the site.
              enableAnalytics: Indicates if analytics is enabled on the site. Typically this is only the website. Default value: true.
              allowDebug: Must be true to be able to debug the site.
              browserTitle: The title of the browser window when browsing the site.
              disableBrowserCaching: If set to true, browser caching is disabled for the site. If set to false, browser caching is enabled for the site. If absent,
                                     the value of the DisableBrowserCaching setting in the <settings> section determines browser caching for the site.
              disableClientData: If set to true, the use of ClientDataStore will be disabled for the site.
              disableXmlControls: If set to true, loading Xml Controls as pages will be disabled.
              defaultDevice: The device to use if no specific device matches the request. This setting takes precedence over the default
              device as it is set by Default checkbox for Device item.
             
              dictionaryDomain: The default domain to use when looking up dictionary phrases for the website. If a phrase does not exist in
                                this dictionary domain, Sitecore attempts to locate that phrase in the default dictionary domain -
                                /sitecore/system/Dictionary in the current database. If the phrase cannot be found in the default dictionary
                                domain, Sitecore attempts to locate that phrase in the default dictionary domain in the Core database, if that
                                database exists.
                                You can override the site-specific dictionary domain by passing parameters to the Translate.Text() method.
              inherits: Indicates that the attributes should be inherited from another site. To enable inheritance, you must specify the name of the source site.
                        Attributes that are explicitly specified overwrite the attributes that are inherited from the source site.
    --> 
  2. In the <settings> section, add the following two settings:
    <!--  CACHING - CACHE KEY INDEXING ENABLED - ACCESS RESULT CACHE
          Determines whether or not the system uses extended indexed storage for the cache keys of the AccessResultCache.
         
          Using indexed storage for cache keys can in certain scenarios significantly reduce the time it takes to perform partial cache
          clearing of the AccessResultCache. This setting is useful on large solutions where the size of this cache is very large and
          where partial cache clearing causes a measurable overhead.
          However, enabling this setting on content management servers with many editors and many content items can degrade performance.
          Default value: false
    -->
    <setting name="Caching.CacheKeyIndexingEnabled.AccessResultCache" value="false"/>
    <!--  CACHING - CACHE KEY INDEXING ENABLED - ITEM CACHE
          Determines whether or not the system uses extended indexed storage for the cache keys of the ItemCache.
         
          Using indexed storage for cache keys can in certain scenarios significantly reduce the time it takes to perform partial cache
          clearing of the ItemCache. This setting is useful on large solutions where the size of this cache is very large and where
          partial cache clearing causes a measurable overhead.
          However, enabling this setting on content management servers with many editors, many languages, and/or many versions can degrade
          performance.
          Default value: false
    -->
    <setting name="Caching.CacheKeyIndexingEnabled.ItemCache" value="false"/>
  3. In the <settings> section, add the following setting:
    <!--  MEDIA LOWER CASE URLs
          If true, Sitecore will generate lower case URLs when it uses the MediaProvider API and/or the link provider to render media URLs.
          If blank, Sitecore will use the same value as the lowercaseUrls attribute from the link provider.
          Default value: "" (use the value from the link provider)
    -->
    <setting name="Media.LowercaseUrls" value="" />

Changes to the Sitecore.AntiCsrf.config file

Tip: Most customers have only applied a small number of changes (if any) to the Sitecore.AntiCsrf.config file. In that case, we strongly recommend that you simply download the clean config file using the link above and re-apply any changes that you've made to save time and to reduce the risk of making mistakes when modifying the file.

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

  1. In the <rules> section, add a new rule named WFFM:
    <rule name="WFFM">
      <urlPrefix>/sitecore/shell</urlPrefix>
      <ignore wildcard="/sitecore/shell/Applications/Modules/Web Forms for Marketers/Form Reports*\?*Cart_*_Items_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/~/xaml/Sitecore.Forms.Shell.UI.Dialogs.LookupRecords.html*"/>
      <ignore wildcard="/sitecore/shell/~/xaml/Sitecore.Forms.Shell.UI.Dialogs.ListItemsEditor.html*"/>
    </rule>
  2. In the <rule name="shell"> section, add a new <ignore> node at the end of the section:
    <ignore wildcard="/sitecore/shell/~/xaml/Sitecore.Shell.Applications.MarketingAutomation.Dialogs.SelectStateVisitor.html*\?*Cart_*_Visitors_Callback=yes"/>

    The entire <rule name="shell"> section should now look like this if you didn't add or remove any rules:
    <rule name="shell">
      <urlPrefix>/sitecore/shell</urlPrefix>
      <ignore contains="Content Manager/Execute"/>
      <ignore contains="FlashUpload/Advanced/UploadTarget"/>
      <ignore contains="FlashUpload/Attach/AttachTarget"/>
      <ignore contains="WebEdit/Palette"/>
      <ignore contains="WebEdit/WebEditRibbon"/>
      <ignore contains="TreeviewEx"/>
      <ignore contains="InstantSearch"/>
      <ignore contains="WordOCX/Load"/>
      <ignore wildcard="/sitecore/shell/*Applications/Archives/Archive*\?*Cart_*_Items_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/*Applications/Archives/Recycle Bin*\?*Cart_*_Items_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/~/xaml/Installer.AddSecuritySourceDialog*\?*Cart_*_SelectAccounts_*_Users_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Security.SelectAccount*\?*Cart_*_Roles_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Security.SelectAccount*\?*Cart_*_Users_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/*Applications/Security/User Manager*\?*Cart_Users_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Security.SelectRoles*\?*Cart_*_Roles_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Security.EditManagedDomains*\?*Cart_*_Domains_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/*Applications/Security/Role Manager*\?*Cart_Roles_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Security.RoleManager.ViewMembers*\?*Cart_*_Users_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Security.RoleManager.ViewParentRoles*\?*Cart_*_Users_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/*Applications/Security/Domain Manager*\?*Cart_Domains_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/~/xaml/Sitecore.Shell.Applications.WebEdit.Dialogs.LockedItems*\?*Cart_*_Items_Callback=yes"/>
      <ignore wildcard="/sitecore/shell/Applications/Analytics/ReportRunner/Report*\?*rid"/>
      <ignore wildcard="/sitecore/shell/default*\?*xmlcontrol=Gallery.Components*scWebEditRibbon"/>
      <ignore wildcard="/sitecore/shell/~/xaml/Sitecore.Shell.Applications.MarketingAutomation.Dialogs.SelectStateVisitor.html*\?*Cart_*_Visitors_Callback=yes"/>
    </rule>