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

4 Answers 4

20

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

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 at 20:01
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 that you have read and understand our privacy policy and code of conduct.

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