环境:rhel7.2 apache2.4 django1.11.13
问题:访问apache时 前端页面报错[Errno 13] Permission denied:
解决:这个问题根据错误信息能知道这是个权限错误,也就是apache没有对该文件夹有操作权限;
所以想要解决这个问题加个权限就Ok了;(注意,网上有一些解释我是没看懂)
chown apache:apache -R /var/www/html/Platform/Wiki/log
apache:apache 这个要打开/etc/httpd/conf/httpd.conf 文件去查看用户组
/var/www/html/Platform/Wiki/log 这个是你没有权限的文件路径