配置虚拟主机的时候,里面加上如下:
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
配置虚拟主机的时候,里面加上如下:
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
转载于:https://www.cnblogs.com/xingmeng/p/3663543.html