linux 解决You don't have permission to access 问题

linux 解决You don't have permission to access 问题

今天首次配制centOS下的apache,
出现You don't have permission to access /index.html on this server.的问题
网上找了许多文章都没解决,后来才发现原来是权限问题
用"chmod 755 /var/www/html/index.html"成功解决问题!

原文地址:https://www.cnblogs.com/derrck/p/1516075.html