Re: [SLUG] configuring apache rendering file list in a directory.

From: Matt Miller (mmiller1@mptotalcare.com)
Date: Wed May 15 2002 - 13:02:48 EDT


On Wed, 2002-05-15 at 10:41, Patrick (at work) wrote:
> I've set a directory and all files in the directory with read access for
> everyone. For the past hour I have been unsuccessful in configuring apache
> to render the list of files in the directory when viewed in . A 404 error
> is returned. I surmise the 404 is being rendered because it's looking for a
> default.html. How can I configure apache to simply render the file list in
> a directory.

Add this entry to you apache access.conf or httpd.conf (depending on
whether your using a single httpd.conf or multiple apache conf files):

<Directory /www_root/path_to_directory>
 Options Indexes
 order allow,deny
 allow from all
</Directory>

I think adding "FancyIndexing On" to your srm.conf or httpd.conf
enhances the listing in conjunction with mod_autoindex.

-- 
Matt Miller
Systems Administrator
MP TotalCare, INC
gpg public key id: 
08BC7B06




This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:36:06 EDT