search cancel

replace directives with external variable


Article ID: 142483


Updated On:


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


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 ?



CA Access Gateway (SPS) all versions




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

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

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 :
  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 !