How do I allow directory listings in Apache?
By default, GeekISP's Apache instances won't provide a directory listing as a privacy feature. If you'd like to enable directory listings, simply create a .htaccess file in the directory in question, and add the following:
So, the complete sequence looks like:
$ cd www.example.com/htdocs/foo
$ echo "Options +Indexes" > .htaccess
31772/68%Last update: 2005-12-18 15:50
Author: Dave Steinberg
You cannot comment on this entry