Configuring Apache HTTP Server Using HTTP Transport

This section explains the configuration required to set up the Apache HTTP server using the HTTP transport.

Follow these steps to configure the Apache HTTP server installation for using the Apache module of TIBCO API Exchange Gateway.

Procedure

  1. Open the APACHE_HOME/conf/httpd.conf file for editing.
  2. Add the following line in the file:

    Include ASG_HOME/modules/http_server/apache/mod_ASG.conf

    Note: Replace the ASG_HOME with the directory location where TIBCO API Exchange Gateway product is installed.
  3. In the same file, edit the value of the listening port, if required:

    Listen 8080

    Note: The default listening port is 80. Change the value of the listening port, if required.

    The samples shipped with TIBCO API Exchange Gateway use the port value of 8080. Change the value of the listening port to run the samples.

  4. Verify that you have set up the system environment variables on the machine where the Apache HTTP server is installed. You should set the variables as follows.

    On Windows: After TIBCO API Exchange Gateway product is installed, verify that the PATH system variable includes RV_HOME/bin, where RV_HOME specifies the directory where the TIBCO Rendezvous product is installed.

    On UNIX: After TIBCO API Exchange Gateway product is installed, ensure that the following environment variables are set correctly. Depending on the type of shell, you might have to use different commands to set these variables.

    • RV_HOME: verify that this variable is set to the directory where TIBCO Rendezvous is installed. If not, set it as follows:
      export RV_HOME=<directory where the TIBCO Rendezvous product is installed>
    • PATH: verify that this variable includes $RV_HOME/bin. If not, set it as follows:
      export PATH=$RV_HOME/bin:$PATH
    • LD_LIBRARY_PATH: verify that this variable includes $RV_HOME/lib. If not, set it as follows:
      export LD_LIBRARY_PATH=$RV_HOME/lib:$RV_HOME/lib/64:$LD_LIBRARY_PATH