HTTP Directory Browsing

The HTTP Directory Browsing tab allows you to enable HTTP directory browsing and define which directories can be browsed; these directories can be inside or outside Web applications.

You cannot enable directory browsing for the special Web application directories WEB-INF and META-INF. Also, if you enable browsing for a directory that contains welcome files, anyone browsing the directory will see only the welcome files.

StepsEnabling directory browsing

  1. Click Enable Directory Browsing. This enables browsing for the directories you have added to your list.

  2. Click Add. An entry is added to the list with default settings. Modify the entry to define the directory that can be browsed:

    • Web Application Name – click the Web application name. A drop-down list displays a list of installed Web applications from which to choose. Or use Default to define non-Web application directories.

    • Directory Name – enter the directory name that can be browsed.

      NoteUse forward slashes when defining a directory name.

    • Grant Access to Subdirectories – either true or false. If true, grants access to all subdirectories of the directories that you specify.

  3. To allow browsing of multiple top-level directories in the same Web application, repeat the previous steps to create an entry for each directory. To delete a directory from the list, highlight the directory and click Delete.

  4. Restart the server for the changes to take effect.

You can verify the settings of HTTP directory browsing by checking these properties on the Advanced tab: