Previous Topic: How to Integrate with CA SiteMinder

Next Topic: Example: Configuring CA SiteMinder for the Apache Web Server

Example: Configuring the Apahce Web Server Proxy Plug In on the Enterprise Management Server

In this example, you installed the Enterprise Management Server on a Windows 2008 Server. You also needs installed the Apache web server version 2.2.19 on the Enterprise Management Server with SSL support enables. Now you configure the Apache web server proxy plug-in. Do the following:

  1. Stop the JBoss application server on the Enterprise Management Server
  2. Navigate to the following directory:
    APACHE_HOME/conf
    
    APACHE_HOME

    The directory where the Apache web server is installed

  3. Edit the httpd.conf file to enable the proxy modules and include the proxy configuration:
    1. Uncomment the following lines:
      LoadModule proxy_module modules/mod_proxy.so
      LoadModule proxy_http_module modules/mod_proxy_http.so
      
    2. Add the following line at the end of the Global configuration section:
      Include conf/extra/httpd-proxy-entm.conf
      
  4. Navigate to the following directory:
    APACHE_HOME/conf/extra
    
  5. Create a file named httpd-proxy-entm.conf, and add the following content, then save and close the file:
    # Proxy to CA AC ENTM
    <IfModule proxy_module>
      <IfModule proxy_http_module>
    	# /iam section BEGIN
        <Proxy /iam>
          Order allow,deny
          Allow from all
        </Proxy>
        ProxyPass /iam http://acentmnode.example.com:8080/iam
        ProxyPassReverse /iam http://acentmnode.example.com:8080/iam
        ProxyPass /iam/ http://acentm.examplenode.com:8080/iam/
        ProxyPassReverse /iam/ http://acentmnode.example.com:8080/iam/	
    	# /iam section END
    	# /castylesr5.1.1 section BEGIN
        <Proxy /castylesr5.1.1>
          Order allow,deny
          Allow from all
        </Proxy>
        ProxyPass /castylesr5.1.1 http://acentmnode.example.com:8080/castylesr5.1.1
        ProxyPassReverse /castylesr5.1.1 http://acentmnode.example.com:8080/castylesr5.1.1
        ProxyPass /castylesr5.1.1/ http://acentmnode.example.com:8080/castylesr5.1.1/
        ProxyPassReverse /castylesr5.1.1/ http://acentmnode.example.com:8080/castylesr5.1.1/
    	# /castylesr5.1.1 section END
      </IfModule>
    </IfModule>
    

    Note: Replace the acentmnode.example.com:port with the actual hostname and port of the server where you installed the Enterprise Management server.

  6. Restart the Apache web server.
  7. Restart the JBoss application server.
  8. Browse to the Enterprise Management Server to verify that the Apache web server forwards the requests successfully. Use the following URL:
    http://enterprise_host:port/iam/ac
    

You have configured the Apache web server proxy plug-in on the Enterprise Management Server.