Apache2 Permission denied:

Today at creating a new Apache VHost I recognized following Error in the apache error log (/var/log/apache2/error.log):

Permission denied: cannot read directory for multi

The Apache tries a list of all files in the subfolder view, if he does not find the desired website.

In the apache config I had the following line:

Options Indexes FollowSymLinks MultiViews

I deletet MultiViews. Now apache does not list any file in the subfolder view and the error message is gone.

At the end just reload apache and everything works fine:

sudo service apache2 reload
comments powered by Disqus