![Netscape ENTERPRISE SERVER 6.1 Manual Download Page 304](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653304.webp)
Elements in server.dtd and server.xml
304
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
VS (Virtual Server)
Defines a virtual server.
Subelements:
VARS
,
QOSPARAMS
,
USERDB
Attributes:
rootobject
(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. The default value is
default
.
If you specify an object that doesn’t exist, the server doesn’t
report an error until a client tries to retrieve a document. The
Server Manager assumes the default to be the object named
default
. Don’t deviate from this convention if you use (or
plan to use) the Server Manager.
acceptlanguage
(optional) If
on
, 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.
The default is
off
. Can be overridden in a
VS
element.
id
Virtual server ID. This is a unique ID that allows lookup of a
specific virtual server. Can also be referred to as the variable
$id
in an
obj.conf
file. A virtual server ID cannot begin
with a number.
connections
(optional) A space-separated list of
CONNECTIONGROUP id
s
that specify the connection(s) the virtual server uses. Required
only for a
VS
that is not the
defaultvs
of a
CONNECTIONGROUP
.
urlhosts
A space-separated list of values allowed in the
Host
request
header to select the current virtual server. Each
VS
that is
configured to the same
CONNECTIONGROUP
must have a
unique
urlhosts
value for that group.
mime
The
id
of the
MIME
element used by the virtual server.
Summary of Contents for ENTERPRISE SERVER 6.1
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Page 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...