After you install the Agent, modify the httpd.conf configuration file to enable the Apache web server to operate with the SAML Affiliate Agent.
Some of the files in the following procedure use the Solaris file extension (.so) in the file names. The extension can differ depending on your operating system.
To modify the httpd.conf file
Example: $ cd /usr/apache/conf
For Apache 2.x, add the following lines to the DSO configuration section:
where plugins_directory is the full path to the SAML Affiliate Agent plugins directory.
Place this entry after the LoadModule entry. Do not use a relative path for this location.
The modified sections of the file must resemble the sample text below for Apache 2.0.43:
# Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which # was built as a DSO you have to place corresponding #`LoadModule' lines at this #location so the # directives contained in it are actually available # _before_ they are used. Statically compiled modules # (those listed by `httpd -l') do not need to be loaded # here. # # Example: # LoadModule foo_module modules/mod_foo.so # LoadModule smAffiliate_module /export/aa259/affiliateagent/bin/plugins/libApache20AffiliateAgent.so SmAffiliateInitFile /export/netegrity/affiliateagent/config/AffiliateConfig.xml
For Apache 1.x, add the following lines to the DSO configuration section:
where plugins_directory is the full path to the SAML Affiliate Agent plugins directory.
Place this entry after the LoadModule entry. Do not use a relative path for this location.
saml_affiliate_agent_home/config
Note: Any time you have to restart the Apache Web server with the SAML Affiliate Agent, run the nete-af-env.sh script to set required environment variables.
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |