Customize your Apache configuration

The following instructions illustrate how you can include custom configuration to Apache and disable the same if not required.

  1. Create conf.d/httpd/httpd.conf.d under /opt/collabnet/teamforge/etc/ directory.
  2. Include custom.conf under /opt/collabnet/teamforge/etc/conf.d/httpd/httpd.conf.d/.
  3. Deploy services.
    • /opt/collabnet/teamforge/bin/teamforge provision

    The "provision" command prompts for response before it bootstraps or migrates data during TeamForge installation and upgrade respectively. Enter "Yes" or "No" to proceed. For more information, see The teamforge script.

The following warning message is displayed, which you can ignore.

Custom configuration found in /opt/collabnet/teamforge/etc/conf.d/httpd/httpd.conf.d has been applied. Please be informed that such configuration may impact the reliability of TeamForge.

The following line is added to /etc/httpd/conf/httpd.conf:
Include /opt/collabnet/teamforge/etc/conf.d/httpd/httpd.conf.d/

  1. Run the httpd -e info command to know the Apache configuration/syntax errors, if any.

Remove custom configuration

  1. To remove custom configuration:
    • cd /opt/collabnet/teamforge/etc/conf.d/
    • mv httpd/ httpd_old
  2. Deploy services.
    • /opt/collabnet/teamforge/bin/teamforge provision

    The "provision" command prompts for response before it bootstraps or migrates data during TeamForge installation and upgrade respectively. Enter "Yes" or "No" to proceed. For more information, see The teamforge script.