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>
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。