Stop directory listings in Apache
Hi,
I am new to Apache.
I have it up and running on Red Hat 9.
I have a bunch of web sites on this system.
How do I do this:
1. Prevent anyone from getting a directory listing
of any directories under "/var/www/html"
2. If any directory does not contain an "index.html"
file then my default "/var/www/html/nopage.html"
should be displayed instead.
Very often I change the contents of the
"/var/www/html/nopage.html" file so I
would like to maintain only one copy of this file.
Thanks.
|