Hi all,
I have a lot virtual hosts running on Apache.
Directory browsing is enabled on every single vhost (by default), and I want to disable this globally.
Been searching and struggling with this for some time now, but can't seem to get it right.
I have tried following in my apache2.conf
Code:
<Directory /var/www/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
</Directory>
Also tried following in /sites-available/default
(/etc/apache2/sites-enabled/)
Code:
<Directory />
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
</Directory>
I know I can throw "Options -Indexes" on every single vhost, but it
must be possible to do this globally.
What am I doing wrong?
