Directory Handler    

Supported MIME Types:

Methods: GET, HEAD

Priority: 10

Suggested Virtual Resources:

Virtual Resource Extras: None

The Directory Handler displays the contents of the directory specified in the URL. Each item is displayed with its Tracker icon, size, and type. With the above virtual resources specified in the Virtual Hosts file, it will also substitute a directory listing when the "index.html" file is missing. The icons displayed are created on the fly based on the MIME type of the item. They are in PNG format and may not be supported by some browsers.

If you wish to prevent the Directory Handler from displaying the contents of a certain directory without first providing the password, do a "chmod o-r dir" (where "dir" is the name of the directory) on the directory from the Terminal. "chmod o+r dir" will enable public access to the directory listing. If you do not want anyone to ever be able to get the contents of a directory, remove the Directory Handler module.

The Directory Handler has preliminary support for displaying the contents of Tracker query files as directories. At this time, clicking on the links in such as listing does not work. A future version of the directory handler may be able to provide the required path translation for such links.


Robin Hood Web Server for BeOS
Copyright © 1999-2001
The Robin Hood Development Team (see Revision History for details)

BeOS is a registered trademark of Be Inc.