apache2 限制访问空文件展示目录
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
/etc/apache2/apache2.conf修改上述为:
<Directory /var/www/>
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>