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 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:
- Click the Manage tab.
- Click the HTTP Servers subtab.
- Select your HTTP Server (powered by Apache) from the Server list.
- Select the context you
want to work with from the Server area list.
- Expand Server Properties.
- Click Directory Handling.
- Click the General Settings tab in the form.
- Select Enabled for your HTTP Server (powered by
Apache) to always search for a welcome or index file name.
- Select Display directory listings for all directories.
- 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:
- Click the Appearance tab in the form.
- Select the options for your directory listing. View the help text for
specific field values.
- Click OK.