If your apache is chowing a indexes when browsing /var/www directory tree it might be considered as a security weakness. Unless you need your users to browse entire directory tree you may need to change a default apache setting in /etc/apache2/sites-available/yousite :

FROM:

Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride None
Order allow,deny
allow from all

TO:

Options -Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride None
Order allow,deny
allow from all



Go to top