Return to doc.sitecore.com

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

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

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

  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>

Notes:
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 name=".ASPXAUTH" />
    </authentication>

    to:

    <authentication mode="…">
    <forms name=".ASPXAUTH" cookieless="UseCookies"/>
    </authentication>


  2. Remove from system.web and system.webServer sections:

    <add verb="*" path="sitecore_rest.ashx" type="Sitecore.Web.UI.XamlSharp.Ajax.RestPageHandlerFactory, Sitecore.Kernel" name="Sitecore.RestRequestHandler"/>

  3. Remove from customHandlers section:

    <handler trigger="~/rest/" handler="sitecore_rest.ashx"/>

  4. Remove from pipelines section:

    <restRequest>
            <processor type="Sitecore.Rest.RestApi, Sitecore.Kernel"/>
    </restRequest>

  5. 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" />