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

Configuring the Apache HTTP Server 2.2 Agent for Multiple Apache HTTP Server Virtual Hosts

Consider the scenario where the Apache HTTP Server 2.2 has two virtual hosts: http://site1.example.com/ and http://site2.example.com/.

ProcedureTo Enforce Access to the Individual Virtual Hosts

  1. Define the FQDN map property in the AMAgent.properties file as:

    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.

ProcedureTo Protect Only http://site1.example.com/ and Not http://site2.example.com/

  1. Define the FQDN map property in the AMAgent.properties file as:

    com.sun.am.policy.agents.config.fqdn.map =
       valid1|site1.example.com,valid2|site2.example.com
  2. Define the site2 URLs in the not-enforced URL list.