Red Hat ENTERPRISE LINUX 4 System Administration Manual page 254

Hide thumbs Also See for ENTERPRISE LINUX 4:
Table of Contents

Advertisement

Chapter 24. Apache HTTP Server Configuration
Figure 24.3. Site Configuration
4
The entries listed in the Directory Page Search List define the
directive. The
DirectoryIndex
DirectoryIndex is the default page served by the server when a user requests an index of a
directory by specifying a forward slash (/) at the end of the directory name.
For example, when a user requests the page http://www.example.com/this_directory/, they
are going to get either the DirectoryIndex page, if it exists, or a server-generated directory list. The
server tries to find one of the files listed in the DirectoryIndex directive and returns the first one it
finds.
If it does not find any of these files and if Options Indexes is set for that directory, the server
generates and returns a list, in HTML format, of the subdirectories and files in the directory.
4
http://httpd.apache.org/docs-2.0/mod/mod_dir.html#directoryindex
236

Advertisement

Table of Contents
loading

Table of Contents