Apache: Disable Indexes showing your folder structure

 

go to /etc/apache2/sites-available/yoursite.conf

change the line

Options Indexes FollowSymLinks MultiViews

to

Options -Indexes +FollowSymLinks +MultiViews

 

Leave a Reply

Your email address will not be published.