Question
Options -Indexes not working
I am trying to configure a new droplet to disable Indexes on Apache2. However, no matter how I do it, I am able to view the index:
<Directory /var/www/>
Options FollowSymLinks
Options -Indexes
AllowOverride None
Require all granted
</Directory>
/etc/init.d/apache2 restart
Then when I load my droplet IP - http://xx.xx.xx.xx, I see the directory contents.
Any ideas what I’m doing wrong please? Thank you
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×