Control access to hosts specified in connect tags

 

+

Search Tips   |   Advanced Search

 

Although Web sites that automatically display content for different localities or languages are not directly supported by Web Content Management, it is possible to maintain separate libraries and sites within IWWCM for different localities.

By default, connect tags can specify any host.name. However, we can restrict access to a specified list of host names by modifying the WCMConfigService.properties file.

  1. Edit...

    portal_server_root/wcm/shared/app/config/wcmservices/WCMConfigService.properties

    ...and change the value of...

    connect.connector.httpconnector.denyunknownhosts

    ...to true.

  2. For each host.name for which you want to grant access, add a new property. Use the following format for the new property...

    connect.connector.httpconnector.hosts.host.name=value

    The value of host.name is the fully qualified host name of the server for which you want to permit access, and value is either true or false. For example:

    connect.businesslogic.hosts.www.example.com=true

  3. Optional: To specify a default cache expiration value for the host.name that you added, add a property with the following format:

    connect.connector.httpconnector.hosts.host_name.defaultcacheexpires=value

    The value of host.name is the fully qualified host name of the server for which you want to permit access, and value indicates the expiration time, according to the format used with connect tags and described in Expires parameter. For example:

    connect.connector.httpconnector.hosts.www.example.com.defaultcacheexpires=REL9000s

  4. Optional: To specify a default cache setting for the host.name that you added, add a property with the following format.

    connect.connector.httpconnector.hosts.host_name.defaultcache=value

    The value of host.name is the fully qualified host name of the server for which you want to permit access, and value is either true or false. For example:

    connect.connector.httpconnector.hosts.www.example.com.defaultcache=true

Cluster note: If you are using this Web content server as part of a cluster, ensure that any properties you create in the WCMConfigService.properties file to manage access to host names are the same on each node to ensure consistent results across the cluster.

 

Parent topic:

Configure Web Content Management