apache question

Mat Grove matthew.grove at port.ac.uk
Mon May 24 10:46:01 CDT 2004

On Mon, 24 May 2004 09:56:45 -0500
Lisa Preston <lpreston at doe.state.in.us> wrote:

> Can anyone help me with apache listing my directory content when their 
> is no default page (ie. inex or welcome) in that directory.  I do not 
> want my directory content listed.

One way to do it is to put a line like this in your apache config file (for many distros this is /etc/apache/httpd.conf) 

<Directory /home/www/htdocs/dirwithnoidexes>
Options -Indexes

You might want to read about mod_autoindex.

Hope that helps,


More information about the Linux-PowerEdge mailing list