The Server.xml File - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

The server.xml File

For example, the following code defines the
element. The first line specifies that a
QOSPARAMS
see
EMPTY
specify that a
rootobject
<!ELEMENT VSCLASS (VARS?,VS*,QOSPARAMS?)>
<!ATTLIST VSCLASS
id ID #REQUIRED
objectfile CDATA #IMPLIED
rootobject CDATA #IMPLIED
acceptlanguage (yes|no|on|off|1|0) #IMPLIED
Labels such as
XML, see the XML specification at:
http://www.w3.org/TR/REC-xml
The server.xml File
The
server.xml
and assigns virtual servers to these listen sockets. The encoding is UTF-8 to
maintain compatibility with regular UNIX text editors. The
located in the server_root
Here is a simple
server classes (
<?xml version="1.0" encoding="UTF-8"?>
<!-- declare any variables to be used in the server.xml file in the
ATTLIST below -->
<!DOCTYPE SERVER SYSTEM "server.dtd" [
<!ATTLIST VARS
docroot CDATA #IMPLIED
adminusers CDATA #IMPLIED
webapps_file CDATA #IMPLIED
webapps_enable CDATA #IMPLIED
accesslog CDATA #IMPLIED
user CDATA #IMPLIED
group CDATA #IMPLIED
chroot CDATA #IMPLIED
dir CDATA #IMPLIED
282
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
elements (if this element could not contain other elements, you would
instead of a list of element names in parentheses). The remaining lines
element can contain
VSCLASS
attributes, but only the
and
are XML data types. For more information about
ID
CDATA
file configures the addresses and ports that the server listens on
/https
file. It contains two listen sockets (
server.xml
), and three virtual servers (
VSCLASS
VSCLASS
element can contain
VS
,
id
connections
attribute is required.
id
-server_id
directory.
/config
VS
(or virtual server class)
,
, or
VARS
VS
,
, or
objectfile
file is
server.xml
), two virtual
LS
).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents