search cancel

How does Apache call the 'webagent.conf' file??

book

Article ID: 188594

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On Agents (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) SITEMINDER

Issue/Introduction

How does Apache know where to locate and load the 'webagent.conf' file?

How can we change the location where this file is located?

Environment

Release : 12.8.03

Component : SITEMINDER -WEB AGENT FOR APACHE

Resolution

The Apache server locates the Siteminder Web Agent's 'webagent.conf' file from within the Apache 'HTTPD.conf file' in the "SmInitFile" directive.

# LoadModule foo_module modules/mod_foo.so
LoadModule sm_module "/opt/CA/webagent/bin/libmod_sm24.so"
SmInitFile "/export/apache/conf/WebAgent.conf"

The file can be renamed and moved within the file system, and the "SmInitFile" value can be updated to point to the new location and reflect the new name.  The name and path are simply the defaults.

NOTE: The user used to start the Apache instance will need to have permissions to the new file location.  It is not recommended to modify default configuration within advanced understanding of the Web Agent and Apache configuration concepts.