Sun Java System Web Server 6.1 SP11 Administrator's Configuration File Reference

VSCLASS

Defines a virtual server class.

Subelements

The following table describes subelements for the VSCLASS element.

Table 2–12 VSCLASS Subelements

Element  

Required  

Description  

DESCRIPTION

zero or one 

Contains a text description of the VSCLASS.

VARS

zero or one 

Specifies a property of the VSCLASS.

PROPERTY

zero or more 

Specifies a property of the VSCLASS.

VS

zero or more 

Defines a virtual server. 

QOSPARAMS

zero or one 

Defines quality of service parameters. 

Attributes

The following table describes attributes for the VSCLASS element.

Table 2–13 VSCLASS Attributes

Attribute  

Default  

Description  

id

none 

Virtual server class ID. This is a unique ID that allows lookup of a specific virtual server class. A virtual server class ID cannot begin with a number. 

objectfile

obj.conf

The obj.conf file for this class of virtual servers. Cannot be overridden in a VS element.

rootobject

default 

(Optional) Tells the server which object loaded from an obj.conf file is the default. The default object is expected to have all the name translation (NameTrans) directives for the virtual server, any server behavior that is configured in the default object affects the entire server.

If you specify an object that doesn’t exist, the server does not report an error until a client tries to retrieve a document. The Server Manager assumes the default to be the object named default. Do not deviate from this convention if you use (or plan to use) the Server Manager.

acceptlanguage

false

(Optional) If true, the server parses the Accept-Language header and sends an appropriate language version based on which language the client can accept. You should set this value to on only if the server supports multiple languages. Can be overridden in a VS element.

Legal values are on, off, yes, no, 1, 0, true, and false.