Website Setup & Info
ID #1042
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:
Options +Indexes
So, the complete sequence looks like:
$ cd www.example.com/htdocs/foo
$ echo "Options +Indexes" > .htaccess
Tags: -
Related entries:
Last update: 2005-12-18 15:50
Author: Dave Steinberg
Revision: 1.0
You cannot comment on this entry