Configuring an Apache load balancer or proxy server

If you are using an external proxy server for load balancing, you must add a proxy redirection directive to the httpd.conf file on the proxy server. Requests sent to the proxy server are redirected to the server specified in the httpd.conf file.

Procedure

  1. Log on to the load balancer server as a user who has administrative privileges.
  2. Go to the <Apache_Home>\conf\ directory, and open the httpd.conf file in a text editor.
  3. Add the following lines:
    <Location /ibmcognos/>
    ProxyPass http://primary_reporting_server/ibmcognos/
    SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1
    </Location>
    Note: You must include the trailing forward slash in the ProxyPass directive when specifying the Cognos® virtual directory (/ibmcognos/).
  4. Save and close the file.