Merging UGC configuration files with existing configuration files
Rather than copying UGC configuration files, merge them with the configuration files already present in the Web site.
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) Server 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 Server Role to a Java/JSP Web site, merge 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 web.xml WEB-INF\web.xml - If you are adding this Server Role to a .NET Web site that contains the RESTful API Server 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 Server Role to a .NET Web site that contains the deprecated in-process API Server Role, merge the following files 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