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

  

猜你喜欢

转载自www.cnblogs.com/aididiao/p/12467554.html
今日推荐