
server.xml
94 Netscape Enterprise Server Programmer’s Guide • April 2002 (Draft)
See Also
Netscape Enterprise Server NSAPI Programmer’s Guide, Chapter 8
Table 2-22 server.xml
Element/Attribute Allowed Subelements
or Values
Default
Value
Description
SERVER VARS, LS, MIME,
ACLFILE, VSCLASS,
QOSPARAMS
Defines a server. Subelements must be
defined in the order shown.
qosactive yes, no, on, off, 1,
0
no Enables quality of service features,
which let you set limits on server
entities or view server statistics for
bandwidth and connections.
qosmetricsinterval Number of seconds 30 (optional) The interval during which
the traffic is measured.
qosrecomputeinterval Number of
milliseconds
100 (optional) The period in which the
bandwidth gets recomputed for all
server entities.
legacyls The id attribute of the listen socket for
legacy (4.x) applications. This LS
should contain only one
CONNECTIONGROUP,whichshouldbe
configured to only one VS,its
defaultvs. All legacy applications
must run on this virtual server.
VARS (no subelements;
commonly defined
variables are
docroot,
adminusers,
webapps_file,
webapps_enable,
accesslog, user,
group, chroot,
dir,andnice)
Defines variables that can be given
values in server.xml and referenced
in obj.conf. No variables are present
by default, but the most commonly
defined variable is docroot,usedin
the document-root function in
obj.conf. For more information, see
Chapter 8 of the Netscape Enterprise
Server NSAPI Programmer’s Guide.
LS (none) Defines a listen socket.
id Internal name for the listen socket.
Used in VS elements todefine the listen
socket(s) a virtual server is bound to.
Comentarios a estos manuales