Sun Java System Access Manager Policy Agent 2.2 Guide for Apache HTTP Server 2.0.54

All Systems: Configuring Agent for Apache HTTP Server on Multiple Apache HTTP Server Virtual Hosts

The task that follows applies to all platforms and provides an example of how to configure multiple virtual hosts. Therefore, if you are interested in configuring multiple instances of this agent, implement the task that follows.

ProcedureTo Enable Access to Multiple Virtual Hosts

For this task example, two virtual hosts are configured: http://site1.example.com and http://site2.example.com. These host names are only examples.

  1. Define the FQDN map property in the web agent AMAgent.properties configuration file as follows:

    com.sun.am.policy.agents.config.fqdn.map = 
    valid1|site1.example.com,valid2|site2.example.com
  2. Define policies in Access Manager with virtual host names in the policy rules.