+

Search Tips   |   Advanced Search

Set scoped configuration settings for virtual portals

Web Content Manager configuration settings can be scoped for individual virtual portals.

  1. Log in to the WebSphere Integrated Solutions Console and go to:

      Resources > Resource Environment > Resource Environment Providers > WCM WCMConfigService > Custom properties

    If the web content server is part of a cluster, use the WAS Console for the deployment manager.

  2. Add a configuration setting for each virtual portal that requires unique configuration settings. We can set this setting for either the host name or context path:

      Host name: vp.uniquename.hostname=ExistingVPHost
      Context path: vp.uniquename.context=ExistingVPContext

  3. To add a scoped configuration setting for a virtual portal, use this format:

      PropertyKey.vp.uniquename=override_value

    This setting overrides the property key in the virtual portal specified in the unique name.

  4. Restart the server or cluster.


Example

If your virtual portal was named "yellowportal", we might create a scoped configuration for it using this format.

The default value for the deployment subscriber is "false": deployment.subscriberOnly=false

You can override this value for the "yellowportal" virtual portal and change it to "true" using this configuration parameter: deployment.subscriberOnly.vp.yellow=true If the base configuration for a setting is different from all the virtual portals, it is more efficient to use a base override setting. To do this, add this setting: enable.base.portal.overrides=true

To add a setting just for the base portal, add ".base" to the end of the parameter name. For example, if we use the default setting deployment.subscriberOnly=true, we can add another setting named...

...that is applied to the base portal only. All the virtual portals use the default value of...