Changing the Primary Document Directory
312
Netscape Enterprise Server Administrator’s Guide
Changing the Primary Document Directory
The primary document directory or document root is the central directory
where you store all the files you want to make available to remote clients. You
specified a primary document directory when you installed the Enterprise
Server software. This section describes how to change the primary document
directory from what you specified in the installation process.
The primary document directory provides an easy way to restrict access to the
files on your server. It also makes it easy to move your documents to a new
directory (perhaps on a different disk) without changing any of your URLs
because the paths specified in the URLs are relative to the primary document
directory.
For example, if your document directory is
C:\Netscape\server4\docs
, a
request such as
http://www.mozilla.com/products/info.html
tells
the server to look for the file in
C:\Netscape\Server4\docs\products\info.html
. If you change the
document root (that is, you move all the files and subdirectories), you only
have to change the document root that the server uses, instead of mapping all
URLs to the new directory or somehow telling clients to look in the new
directory.
To set your server’s primary document directory, use the Primary Document
Directory page in the Server Manager. For more information, see the online
help.
Note
Each server instance should have its own primary document directory. If server
instances share primary document directories, users could simultaneously
modify a document without knowing it.
Setting Additional Document Directories
Most of the time, you keep all of your documents in the primary document
directory. Sometimes, though, you may want to serve documents from a
directory outside of your document root. You can do this by setting additional
document directories. By serving from a document directory outside of your
document root, you can let someone manage a group of documents without
giving them access to your primary document root.
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...