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. Provision services.
    • teamforge provision
    Note:

    TeamForge 17.4 (and later) installer expects the system locale to be LANG=en_US.UTF-8. TeamForge "provision" command fails otherwise.

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. Provision services.
    • teamforge provision
    Note:

    TeamForge 17.4 (and later) installer expects the system locale to be LANG=en_US.UTF-8. TeamForge "provision" command fails otherwise.