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>
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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.