25.4.2. Default Settings
Figure 25.3. Virtual Hosts Tab
Figure 25.4. General Options
220.127.116.11. Site Configuration
Figure 25.5. Site Configuration
DirectoryIndexis 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.
http://www.example.com/this_directory/, they are going to get either the
DirectoryIndexpage, if it exists, or a server-generated directory list. The server tries to find one of the files listed in the
DirectoryIndexdirective and returns the first one it finds. If it does not find any of these files and if
Options Indexesis set for that directory, the server generates and returns a list, in HTML format, of the subdirectories and files in the directory.
ErrorDocumentdirective. If a problem or error occurs when a client tries to connect to the Apache HTTP Server, the default action is to display the short error message shown in the Error Code column. To override this default configuration, select the error code and click the Edit button. Choose to display the default short error message. Choose to redirect the client to an external URL and enter a complete URL, including the
http://, in the Location field. Choose to redirect the client to an internal URL and enter a file location under the document root for the Web server. The location must begin the a slash (/) and be relative to the Document Root.
DocumentRoot/../error/404.html. In this case, DocumentRoot is the Document Root directory that you have defined (the default is
/var/www/html/). If the Document Root is left as the default location, the file should be copied to
/var/www/error/404.html. Then, choose as the Behavior for 404 - Not Found error code and enter
/error/404.htmlas the .
- Show footer with email address — Display the default footer at the bottom of all error pages along with the email address of the website maintainer specified by the
- Show footer — Display just the default footer at the bottom of error pages.
- No footer — Do not display a footer at the bottom of error pages.