Merging UGC configuration files with existing configuration files
Rather than copying UGC configuration files, merge them with the configuration files already present in the website.
Procedure
- Access your installation media and navigate to the folder Content Delivery\roles\.
- Navigate to the ugc\extension-web\rest\config\ subfolder or, if you use the deprecated API (in-process) role, to ugc\extension-web\in-process\config\ .
- Merge the contents of the configuration files in this location with the existing configuration files by the same name that are already present in the configuration location of the web application.
- If you are adding this role to a Java/JSP website, m erge the following files from the installation media folder with the corresponding files in your web application:
Installation media file Merge with web application file cd_ambient_conf.xml WEB-INF\classes\cd_ambient_conf.xml cd_ugc_conf.xml WEB-INF\classes\cd_ugc_conf.xml Important: For the UGC web extensions, do not merge the web.xml file contained in the CD layout with your own file. - If you are adding this role to a .NET website that contains the RESTful API role , merge the following files from the installation media folder to the configuration location of your web application:
Installation media file Merge with web application file cd_ambient_conf.xml bin\config\cd_ambient_conf.xml Web.config Web.config - Alternatively, if you are adding this role to a .NET website that contains the deprecated in-process API role, merge the following files from the installation media folder to the configuration location of your web application:
Installation media file Merge with Web application file cd_ambient_conf.xml bin\config\cd_ambient_conf.xml cd_ugc_conf.xml bin\config\cd_ugc_conf.xml Web.config Web.config