Resources
HOWTO Documents > Making Directories Browsable
Our server is configured such that directories are selectively browsable. This means if the server receives a request which specifies a directory it will go through something like this:
| • | It checks for certain index files, namely "index.html" and "index.htm". If one of these is found, it will be returned to the client. | ||||
| • | Failing to find an index file it checks for the existence of the
file ".htaccess" in the directory. This file allows for
additional on-the-fly commands to be passed to the sever. In order to
enable directory listings the .htaccess file must contain: Options +Indexes |
||||
There are two important things to remember about directory listings:
|
You may also protect files with standard UNIX access permissions. The files need to have world-read permissions to be retrieved. Directories need to have world read and execute permissions for the server to be able to browse them.