just old time
2018年8月11日星期六
apache2 将www目录放在/home/user里面,403 权限问题
apache2.4.33 将web目录 放在了 /home/xxuser/apps/ROOT,访问页面提示403权限问题。
日志显示 because search permissions are missing on a component of the path
从目录 /home/xxuser/apps/ROOT 开始
执行下面的命令:
ls -la
chmod +x .
cd ..
# repeat up to the root
将ROOT目录权限修改为755
chmod -Rf 755 ROOT
参考:
https://wiki.apache.org/httpd/13PermissionDenied
没有评论:
发表评论
较新的博文
较早的博文
主页
订阅:
博文评论 (Atom)
没有评论:
发表评论