Configuring Document Preferences
316
Netscape Enterprise Server Administrator’s Guide
Entering an Index Filename
If a document name is not specified in the URL the server automatically
displays the index file. The default index files are
index.html
and
home.html
. If more than one index file is specified, the server looks in the
order in which the names appear in this field until one is found. For example, if
your index filenames are
index.html
and
home.html
, the server looks for
index.html
and if it doesn’t find it looks for
home.html
.
To enter an index filename, edit the Index Filenames field in the Document
Preferences page of the Server Manager.
Selecting Directory Indexing
In your document directory, you’ll probably have several subdirectories. For
example, you might create a directory called
products
, another called
people
, and so on. It’s often helpful to let clients access an overview (or
index) of these directories.
The server indexes directories by searching the directory for an index file called
index.html
or
home.html
, which is a file you create and maintain as an
overview of the directory’s contents. (Note that these defaults are configurable
for the whole server, so your server’s files may vary. For more information, see
the previous section, “Entering an Index Filename” on page 316). You can
specify any file as an index file for a directory by naming it one of these default
names, which means you can also use a CGI program as an index if CGI is
activated.
If an index file isn’t found, the server generates an index file that lists all the
files in the document root.
To select directory indexing, use the Document Preferences page in the Server
Manager.
Warning
If your server is outside the firewall, turn off directory indexing as well as web
publishing (from the Web Publishing State page) to ensure that your directory
structure, filenames, and web publishing features are not accessible.
Содержание 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 ...