ubuntu You don't have permission to access this resource
apache 配置了个网站,打开就这样提示。权限问题。
具体的解决方法:
1、修改"apache2.conf"配置文件;
2、将"Require all denied"修改成"Require all granted";
3、 重启Apache生效
sudo /etc/init.d/apache2 restart
或者
systemctl restart apache2