The Directory Browser

The Directory Browser is in dir.pl and is part of the base system. It operates anytime the path specifies a directory that has no $http_index file. The Directory Browser is enabled in the config file with the $http_indexdirs flag, otherwise you get an error message when attempting to access a directory.

The Directory Browser will print out all the entries in the specified directory along with the size and last modification time. Entries that are directories are marked with a trailing slash ``/''. You can simply select a file to access it in the normal way (if it's an HTML file it will be displayed, etc.) or you can select a directory to go to that directory.

You can also use the Search Keyword to specify a Perl style regular expression as a filter to help find files in large directories. For example a Search Keyword of ``gif$'' (the $ is needed to avoid trying to view the result as a gif file) will filter out all the files except those ending in ``gif''.

You can also mark directories to be hidden by adding them to the %hidden array in the config file.

Note: the Directory Browser is bounded on either side by directories that contain $http_index files.

________________________________________

Tony Sanders