Page tree
Skip to end of metadata
Go to start of metadata

For cPanel & WHM version 66

(Home >> Advanced >> Indexes)

Overview

When a visitor accesses a directory (rather than a page) on your web site, the browser typically displays the directory's index page. If no index page exists, the browser displays a list of the files in that directory. Use the Indexes interface to define how the server displays a specific directory's index to a visitor, or to disable index display for a directory.

Manage a directory's index

To configure your directory settings

  1. Click Directory Selection, and then select one of the following locations in which to begin navigation:
    • Web Root — Begin navigation in the document root for the account's primary domain.
    • Document Root for — Select the domain that corresponds to the document root in which you wish to begin navigation.
  2. To configure the interface to always open your selection from Step 1, select the Always open this directory in the future checkbox.
  3. Click Save Changes.
  4. Navigate to the desired folder with the following:
    • To navigate into a folder, click the folder icon ().
    • To navigate up one level of the directory tree, click Up One Level at the top of the list of directory contents.
    • To select a directory, click that directory's name.
  5. Select one of the following options:
    • Default System Setting — cPanel uses the default that your hosting provider defines.
    • No Indexing — The server does not list the contents of the directory. Browsers display a message that states that the contents are forbidden.
    • Standard Indexing — The server lists the directory's contents as filenames only.
    • Fancy Indexing — The server lists file names and additional information, such as file size and time last modified.
  6. Click Save.

In This Document

Related Documentation

For Hosting Providers