![]()
Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows
Controlling access to hosts specified in connect tags
By default, connect tags can specify any host name. However, you can restrict access to a specified list of host names by modifying the WCMConfigService.properties file.
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.
- Open the WCMConfigService.properties file in an editor. File location:
- Windows:
portal_server_root/wcm/shared/app/config/wcmservices
- Linux:
portal_server_root/wcm/shared/app/config/wcmservices
- i5/OS:
portal_server_root/wcm/shared/app/config/wcmservices
- Change the value of the connect.connector.httpconnector.denyunknownhosts property to true.
- 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
- Optional: If you want 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=REL 9000s
- Optional: If you want 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
Parent topic:
Configuring Web Content Management