Setting The Primary Document Directory - Netscape ENTREPRISE SERVER 6.0 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Setting the Primary Document Directory

Setting the Primary Document Directory
The primary document directory (also called the document root) is the central
directory where you store all the files you want to make available to remote clients.
When you add a class, you specify a document directory with an absolute path. If
you do not use a variable as part of that path, the document root for every virtual
server in the class will default to the same directory. You can then change them
individually in the Class Manager.
Another approach is to use a variable when you set the path for the class. For
example, you can use the
server id for every virtual server in the class. You can set the class' document root
to be class_doc_root/$id. Using this path, if your class' document directory is
/netscape/servers/docs/$id
that belongs to the class is
vs1
For more information about the document directory and how it is used at the
server instance, class, and virtual server level, see"Document Root," on page 303.
To change the primary document directory to use a different path or variable,
follow these steps:
From the Class Manager, click the Content Management tab.
1.
Click Primary Document Directory.
2.
Enter an absolute directory path or a variable, or a path and variable
3.
combination next to the virtual server.
If you include the variable $id at the end of your document root absolute path,
every virtual server has a default document root of
class_doc_root/virtual_server_ID. For example, if your class' document directory
is
server
For more information about variables, see "Using Variables," on page 307.
Click OK.
4.
For more information, see the online help for the Primary Document Directory
page.
NOTE
356
Netscape Enterprise Server Administrator's Guide • November 2001
$id
/netscape/servers/docs/$id
that belongs to the class is
vs1
Typically, each virtual server has its own primary document
directory.
variable to create a directory named with the virtual
, the default document directory for a virtual server
/netscape/servers/docs/vs1
, the default document directory for a virtual
/netscape/servers/docs/vs1
.
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape management system 6.0

Table of Contents