replace directives with external variable

book

Article ID: 142483

calendar_today

Updated On:

Products

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

Issue/Introduction

We're running a CA Access Gateway (SPS) and we'd like to know if we
can replace the following configuration :

  From httpd.conf 

    replace "ServerName=fqdn" with "ServerName=$hostname"

  From server.conf 

    replace "hostnames=fqdn" with "hostnames=$hostname"

How can we do it ?

Environment

 

CA Access Gateway (SPS) all versions

 

Resolution

 

At first glance, unfortunately, there's no documentation referencing to
this kind of setting.

We have some referencing this variable, but it doesn't mention about
using system variable to fill the value.

  Apache Web Server Settings
  https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-identity-and-access-management/single-sign-on/12-8/configuring/web-agent-configuration/advanced-configuration-settings/apache-web-server-settings.html

Even only considering the Apache httpd.conf, it seems that another
module is needed to achieve this :

  Is it possible to use variables in httpd.conf
  https://stackoverflow.com/questions/4684655/is-it-possible-to-use-variables-in-httpd-conf

This has never been tested on your side, so it can work or it might
not. If it works, this will be customization of the product and as
such the implementation will be out of our Support Scope.

As the httpd.conf is a plain text file, you can use scripting tool to
retrieve the hostname FQDN and modify each httpd.conf with the
ServerName and hostnames with the hostname of the machine.

We invite you to set an Enhancement Request (Idea) in order to get
that functionality implemented in the CA Access Gateway (SPS): 

  1. Go to the "All Ideas" page :
     https://community.broadcom.com/ideation/allideas
  2. Click on the "Add" button.
  3. In the "Select categories...", select "Layer7 Access Management".
  4. Write a title in the "title" box.
  5. Write a complete description of the Enahcement Request or
     Certification you'd like to post.
  6. Click on "Save" to get the Idea submitted !