Previous Topic: Virtual Host Names Configuration

Next Topic: Configuring Proxy Rules

Override Default Values for Virtual Hosts

The <VirtualHostDefaults> settings are used for all virtual hosts defined in the server.conf file unless you explicitly enter settings for a particular virtual host.

You do not have to reconfigure all the virtual settings for the single virtual host. Any settings that you do not redefined in the <VirtualHost> element are applied from the <VirtualHostDefaults> settings.

To override virtual host default values

  1. Add any directive in the default virtual host configuration to the <VirtualHost> element that you want to modify.
  2. Specify a new value for the directive in the <VirtualHost> element.
  3. Save the file.
  4. Restart the SPS.

Example

The virtual host named "sales" requires a default session scheme from what is configured for the default virtual host. The <VirtualHost> element could be modified as follows:

<VirtualHost name="sales">
hostnames="sales, sales.company.com"
addresses="123.123.22.22"
defaultsessionscheme="minicookie"
</VirtualHost>