daintree
11-02-2001, 01:43 AM
I'm need to stop Apache displaying a directory listing when an index.html does not exist. I tried putting the following in my httpd.conf file and restarted the server but it didn't work -
<Directory /home/sites>
Options -Indexes
</Directory>
If I put Options -Indexes in a .htaccess file, it works but I would prefer to do this globally across all domains.
Oh yeah, this is a RaQ3.
Any help would be appreciated.
TIA
Dave
<Directory /home/sites>
Options -Indexes
</Directory>
If I put Options -Indexes in a .htaccess file, it works but I would prefer to do this globally across all domains.
Oh yeah, this is a RaQ3.
Any help would be appreciated.
TIA
Dave
