修改 /etc/apache2/sites-available/000-default.conf

<Directory /var/www/>
#    Options Indexes FollowSymLinks xh 20200107 禁用目录浏览
    Options FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>
service apache2 restart
最后修改:2021 年 08 月 05 日
如果觉得我的文章对你有用,请随意赞赏