Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual page 348

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

Chapter 22. Apache HTTP Server
Figure 22.5. Site Configuration
5
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.
5
http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex
322

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents