Virtual Servers OverviewChapter 13 Using Virtual Servers 303Document RootThe primary document directory or document root is the central directory thatcontains all the virtual server’s files to make available to remote clients.The document root directory provides an easy way to restrict access to the files on avirtual server. It also makes it easy to move documents to a new directory (perhapson a different disk) without changing any of the URLs because the paths specifiedin the URLs are relative to the primary document directory.For example, if your document directory is C:\netscape\servers\docs, a requestsuch as http://www.netscape.com/products/info.html tells the server to lookfor the file in C:\netscape\servers\docs\products\info.html. If you changethe document root (that is, you move all the files and subdirectories), you onlyhave to change the document root that the virtual server uses, instead of mappingall URLs to the new directory or somehow telling clients to look in the newdirectory.When you install the Enterprise Server, you designate a document root for yourEnterprise Server instance. That becomes the document root for the default class.You can change that directory at the class level or override it at the individualvirtual server level.When you add a class, you also need to specify a document directory. Thatdirectory is an absolute path. However, if you simply enter an absolute path, thedocument roots for all virtual servers belonging to the class default to the samedirectory. If you include the variable $id at the end of your document root absolutepath, every virtual server has a default document root ofclass_doc_root/virtual_server_ID. For example, if your class’s document directory is/netscape/servers/docs/$id, the default document directory for a virtual servervs1 that belongs to the class is /netscape/servers/docs/vs1.For more information on variables, see “Using Variables,” on page 307.”You can also override the class’s default document directory at the individualvirtual server level.Log FilesWhen you create a new virtual server, by default the log file is the same log file asthe server instance. In most cases you will want each individual virtual server tohave its own log file. To set this up, you can change the log path for each virtualserver.For more information, see “Configuring Virtual Server Log Settings,” on page 330.