Variables Defined In Server.xml - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

The URL
D:/Netscape/Server4/docs/internalplan1.html
obj.conf
<Object ppath="*internal*">
more directives...
</Object>
In this case, the partial path
D:/Netscape/Server4/docs/internalplan1.html.
processing the directives in this object before processing the remaining directives
in the default object.

Variables Defined in server.xml

You can define variables in the
file. For example, the following
docroot
<!DOCTYPE SERVER SYSTEM "server.dtd" [
<!ATTLIST VARS
docroot CDATA #IMPLIED
>
]>
...
...
You can reference the variable in
NameTrans fn=document-root root="$docroot"
Using this
virtual server classes in the
document roots for different virtual servers within the same virtual server class.
server_name
http://
contains the following additional object:
*internal*
:
<VS id="a.com" connections="maingroup" urlhosts="a.com"
mime="mime1" aclids="std">
<VARS docroot="/u/server6/a/docs" />
</VS>
variable saves you from having to define document roots for
docroot
obj.conf
/internalplan1.html
matches the path
file and reference them in an
server.xml
code defines and uses a variable called
server.xml
as follows:
obj.conf
files. It also allows you to define different
Chapter 2
Variables Defined in server.xml
would be translated to
. However, suppose that
So now the server starts
obj.conf
Syntax and Use of obj.conf
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents