Return to doc.sitecore.com

  Web.config Changes in rev.090212 Compared to rev.090120

Select the link below to download the Web.config file of the default Sitecore CMS 6.0.1 rev.090212 installation:

Below is the list of changes made to the web.config file of Sitecore CMS 6.0.1 rev.090212 as compared to the one in Sitecore CMS 6.0.0 rev.090120. 

  1. Add the following processor to the httprequestbegin pipeline on the first position: 
    <processor type="Sitecore.Pipelines.PreProcessRequest.CheckIgnoreFlag, Sitecore.Kernel" />
  2. Add the following processor to the httpRequestEnd pipeline on the first position: 
    <processor type="Sitecore.Pipelines.PreProcessRequest.CheckIgnoreFlag, Sitecore.Kernel" />
  3. Add the following processor to the renderLayout pipeline on the first position: 
    <processor type="Sitecore.Pipelines.PreProcessRequest.CheckIgnoreFlag, Sitecore.Kernel" />
  4. Add the following processor to the renderField pipeline on the first position: 
    <processor type="Sitecore.Pipelines.RenderField.SetParameters, Sitecore.Kernel" />
  5. Change value of the DictionaryFolder key from: 
    <add key="DictionaryFolder" value="/sitecore/shell/tdf" />
    to:
    <add key="DictionaryFolder" value="/sitecore/shell/RadControls/Spell/tdf" />
  6. Change value of the LayoutNotFoundUrl setting from: 
    <setting name="LayoutNotFoundUrl" value="/sitecore/nolayout.html" />
    to:
    <setting name="LayoutNotFoundUrl" value="/sitecore/service/nolayout.html" />
  7. (optional) Change the Threshold parameter value from 500MB to 800MB. This is a recommended value for Sitecore solutions, however it might require additional tuning in cases where the application uses a higher amount of memory: 
    <param desc="Threshold">800MB</param>
  8. (optional) Change ClearCaches, GarbageCollect and AdjustLoadFactor parameter value from true to false to avoid decreasing performance on servers where Sitecore might reach the MemoryMonitor.Threshold limit. Notice however that setting ClearCaches to false in some situations can result in OutOfMemory exceptions when there is not enough RAM available to the ASP.NET process: 
    <ClearCaches>false</ClearCaches>
    <GarbageCollect>false</GarbageCollect>
    <AdjustLoadFactor>false</AdjustLoadFactor>
  9. Remove the fastCaches section: 
    <fastCaches>
            <fastCache type="Sitecore.Resources.Media.FastMediaCache, Sitecore.Kernel">
              <param desc="Url prefix">/sitecore</param>
              <param desc="Site name">shell</param>
              <memoryCacheSize>200KB</memoryCacheSize>
            </fastCache>
            <fastCache type="Sitecore.Resources.Media.FastMediaCache, Sitecore.Kernel">
              <param desc="Url prefix">/</param>
              <param desc="Site name">website</param>
              <memoryCacheSize>200KB</memoryCacheSize>
            </fastCache>
    </fastCaches>
  10. Added to section /configuration/Sitecore/settings: 
    <!--  KEEP LOCK AFTER SAVE FOR ADMIN USERS
    Set this value to true if you want to Administrator users to keep the lock on an item after saving
    it in the Page Editor.
    Notice: For regular users, the "Keep Lock After Save" item in the core database will determine whether
    to keep the lock or not.
    Default value: false
    -->
          <setting name="KeepLockAfterSaveForAdminUsers" value="false" />

Notes:
If you are updating from rev.081203 (Update-8) or earlier, please make the following changes in the web.config file as well.

  1. Remove the axd extension from the "Allowed extensions (comma separated)" by changing the following line:
     
    <param desc="Allowed extensions (comma separated)">aspx, ashx, axd, asmx</param>

    to:

    <param desc="Allowed extensions (comma separated)">aspx, ashx, asmx</param>

If you are updating from rev.081203 (Update-7) or earlier, please make the following changes in the web.config file as well.

  1. Change the authentication section from:
    <authentication mode="Forms">
    <forms name=".ASPXAUTH" />
    </authentication>

    to:

    <authentication mode="Forms">
    <forms name=".ASPXAUTH" cookieless="UseCookies"/>
    </authentication>
  2. Remove from system.web section:
    <add verb="*" path="sitecore_rest.ashx" type="Sitecore.Web.UI.XamlSharp.Ajax.RestPageHandlerFactory, Sitecore.Kernel" name="Sitecore.RestRequestHandler"/>
  3. Remove from system.webServer section:
    <add verb="*" path="sitecore_rest.ashx" type="Sitecore.Web.UI.XamlSharp.Ajax.RestPageHandlerFactory, Sitecore.Kernel" />
  4. Remove from customHandlers section:
    <handler trigger="~/rest/" handler="sitecore_rest.ashx"/>
  5. Remove from pipelines section:
    <restRequest>
            <processor type="Sitecore.Rest.RestApi, Sitecore.Kernel"/>
    </restRequest>
  6. Remove "/sitecore/rest.html" from the IgnoreUrlPrefixes setting value:
    <setting name="IgnoreUrlPrefixes" value="…"/>

If you are updating from rev.080912 (Update-3) or earlier, please make the following changes in the web.config file as well.

  1. Added to section /configuration/Sitecore/settings:
    <!-- FAST QUERY DESCENDANTS DISABLED
               Determines whether ability to select items through Ancestors/Descendants axes should be disabled in fast query.
               Default value: false
          -->
          <setting name="FastQueryDescendantsDisabled" value="false" />
  2. Added to section /configuration/Sitecore/settings:
    <!--  SITE RESOLVING 
                While rendering item links, some items may belong to different site. Setting this to true
                make LinkManager try to resolve target site in order to use the right host name. 
                Default value: true
          -->
          <setting name="Rendering.SiteResolving" value="true" />