Documentation Center

Configuring cd_dynamic_config.xml

The cd_dynamic_conf.xml is the Content Delivery Dynamic Content Retrieval configuration file. You only need to configure this file if you are using a static publishing model and if you do not use the default Template Building Blocks.

About this task

If, for example, you have a publication with id=2 which has a publication URL "\" and a Structure Group with no directory path and which contains a page test.html, the path to this page is "\test.html". If you want to publish the page on a Web site http://localhost:8080/Javasite, you need to configure the cd_storage_conf.xml configuration file appropriately—in the database, the path to the page will be /Javasite/test.html.

Procedure

  1. Open cd_dynamic_conf.xml in a text editor.
  2. To ensure the correct tracking of Page metadata, you then need to configure the <URLMappings> as follows:
    <URLMappings>
            <StaticMappings>
                <Publications>
                    <Publication Id="2">
                    <Host Domain="localhost" Port="8080"  Protocol="http" Path="/Javasite" />
                    </Publication>
                </Publications>
            </StaticMappings>
    </URLMappings>
  3. Save and close the file.
  4. Restart your Web application server.