Set up directory indexing and directory listing on HTTP Server (powered by Apache)

This topic provides information about how to set up a directory index and directory listing on your HTTP Server with the IBM® Web Administration for i5/OS™ interface.

Important: Information for this topic supports the latest PTF levels for HTTP Server for i5/OS . It is recommended that you install the latest PTFs to upgrade to the latest level of the HTTP Server for i5/OS. Some of the topics documented here are not available prior to this update. See http://www.ibm.com/servers/eserver/iseries/software/http/services/service.htm Link outside Information Center for more information.

A directory index or directory listing shows files and subdirectories that are contained in the directory. The server shows each subdirectory item or each file on a separate line along with information about each item. Use caution when configuring directory listing function, since it allows others to view your directory structure.

To enable directory listings do the following:

  1. Click the Manage tab.
  2. Click the HTTP Servers subtab.
  3. Select your HTTP Server (powered by Apache) from the Server list.
  4. Select the context you want to work with from the Server area list.
  5. Expand Server Properties.
  6. Click Directory Handling.
  7. Click the General Settings tab in the form.
  8. Select Enabled for your HTTP Server (powered by Apache) to always search for a welcome or index file name.
  9. Select Display directory listings for all directories.
  10. Click Apply.

Once directory listings are enabled, you can customize the appearance of the directory list (also called fancy indexing). Directory listing is optional.

To customize the appearance of your directory list, do the following:

  1. Click the Appearance tab in the form.
  2. Select the options for your directory listing. View the help text for specific field values.
  3. Click OK.