15

On Content Authoring servers, you can go to the control panel and view this page to see the compiled Sitecore config: /sitecore/admin/ShowConfig.aspx. It's also possible to do this via Sitecore Rocks.

However I don't know a way of doing this on Content Delivery servers.

Can anyone suggest, how can we verify config settings on Content Delivery server?

3
  • As others have stated it's most likely not accessible due to Security Hardening in the Delivery environment. If you just want a sneak peak at it you can grab a copy of the ShowConfig.aspx file, drop it anywhere that isn't restricted, hit the URL quick then remove it again. I used this technique recently in 8.1 and it worked great.
    – jrap
    Jan 17, 2017 at 2:58
  • I have the same issue, but when i try to open showconfig on CD node i have an error "Unothorized_client", so i tried to provide full permis-s to Anonymous logon\users to the folder "sitecore/admin" but with no success. I did patch of CD configurations and tried to see it on ShowConfigLayers.aspx on CM node also with no success, there are no my changes. So is there a way to use showconfig on CD node or how can i check my pach is working according to the compiled config files ? Thanks in advance guys.
    – Tim
    Nov 15, 2019 at 7:49
  • Tim did to try the option below for config builder on CD instead? Nov 15, 2019 at 9:38

5 Answers 5

22

It's easier Today if you work with Sitecore 9, you can do it from your Content Management server. Just go to /sitecore/admin/ShowConfigLayers.aspx and select Content Delivery.

This is article explaining in details how to View configuration changes

1
  • But this doesn't really show you the config of the CD server. It analyzes the config on the CM server and shows you stuff for the Content Delivery role. If you have differences in config settings between CM and CD it won't show you those. Jan 30 at 15:35
5

You can view configuration using below url for CD (Content Delivery from Content Management)

https://cm-url/sitecore/admin/showconfig.aspx?role=ContentDelivery

4
  • 1
    When I asked this question it was referring to 8.2 (although not specified). This option is available in 9.0 and above only but is a good alternative if your on 9 or above: doc.sitecore.com/developers/90/… Apr 28, 2021 at 8:15
  • What if I have multiple CD? From which CD this will show?
    – Imad
    Apr 5, 2022 at 10:22
  • I am not sure, how it can show details for multiple CD instance, but you can specify your environments as well like env=prod or env=stage. Note: It only shows you your configurations based on your pre-defined config values based on that instance only not actually fetches details from other instances. So if you make an change in CD specifically, and try to access details in CM, CM won't show you your cd changes as two webapps are not connected. Apr 5, 2022 at 13:13
  • I don't believe it shows the config files from the actual CD servers. Instead, it looks at the config files on the CM server and lets you see the configuration of those that are set to role:require="ContentDelivery". It assumes your config files are the same on both CM and CD, and you're using role:require to indicate which settings apply to which servers.
    – Justin
    Mar 8, 2023 at 20:01
1

You can get the compiled showconfig.xml of content delivery servers from a support package.

Go to https://<cm_hostname>/sitecore/admin/supportpackage

Under step "(2) Choose data to collect" select D-03 Runtime configuration and files. You can deselect all other options if all you are after is the showconfig.

In step "(3) Process" make sure each CM/CD/Prc/Rep instance for which you want to generate a showconfig for is selected. Click Start.

When done, download the support package and extract the contents. You will have a folder for each instance you selected in step 3.

Find the showconfig at <packagename.zip>/<sitecore_instance_name>/configs/runtime/showconfig.xml

Read more:

0

you should be able to see it in the CD nodes as well. If you can't see is because most likely there is a permission restricting it as per the recommendations on the Sitecore scaling guide(making it to throw a 403 forbidden error). If that's your case you can change the permissions on IIS on the folder sitecore/admin and set it to Anonymous

1
  • 1
    If you do this, just remember to change it back. Security, and all. :) Oct 17, 2018 at 18:31
0

Although the accepted answer is available but in the Sitecore 9.0.2 azure I found a quick solution.

Comment out following two tags in the web.config

<location path="sitecore">
    <system.web>
      <authorization>
        <deny users="*" />
      </authorization>
    </system.web>
  </location>

and

<rule name="Sitecore Login or Admin Force HTTPS Redirection" enabled="true" 
      stopProcessing="true">
        <match url="^(sitecore/(login|admin))$" />
          <conditions>
            <add input="{HTTPS}" pattern="^OFF$" />
            <add input="{HTTP_METHOD}" pattern="GET" />
          </conditions>
       <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" 
               redirectType="Permanent" />
</rule>

But do remember to enable these tags again after you are done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.