这是我的博客错误日志文件,如何解决这些错误?
[Sat Dec 15 17:05:07.723291 2018] [core:error] [pid 10465:tid 139960006985472] (13)Permission denied: [client 81.198.48.253:58347] AH00035: access to /index.html denied (filesystem path '/home/chroot/websites/specialselektrods.lv/index.html') because search permissions are missing on a component of the path
[Sat Dec 15 17:05:07.723446 2018] [core:error] [pid 10465:tid 139960006985472] (13)Permission denied: [client 81.198.48.253:58347] AH00035: access to /index.cgi denied (filesystem path '/home/chroot/websites/specialselektrods.lv/index.cgi') because search permissions are missing on a component of the path
[Sat Dec 15 17:05:07.723472 2018] [core:error] [pid 10465:tid 139960006985472] (13)Permission denied: [client 81.198.48.253:58347] AH00035: access to /index.pl denied (filesystem path '/home/chroot/websites/specialselektrods.lv/index.pl') because search permissions are missing on a component of the path
[Sat Dec 15 17:05:07.723497 2018] [core:error] [pid 10465:tid 139960006985472] (13)Permission denied: [client 81.198.48.253:58347] AH00035: access to /index.php denied (filesystem path '/home/chroot/websites/specialselektrods.lv/index.php') because search permissions are missing on a component of the path
[Sat Dec 15 17:05:07.723521 2018] [core:error] [pid 10465:tid 139960006985472] (13)Permission denied: [client 81.198.48.253:58347] AH00035: access to /index.xhtml denied (filesystem path '/home/chroot/websites/specialselektrods.lv/index.xhtml') because search permissions are missing on a component of the path
[Sat Dec 15 17:05:07.723545 2018] [core:error] [pid 10465:tid 139960006985472] (13)Permission denied: [client 81.198.48.253:58347] AH00035: access to /index.htm denied (filesystem path '/home/chroot/websites/specialselektrods.lv/index.htm') because search permissions are missing on a component of the path
81.198.48.253 - - [15/Dec/2018:17:05:07 +0100] "GET / HTTP/1.1" 403 516 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
[Sat Dec 15 17:05:08.000730 2018] [core:error] [pid 10465:tid 139960015378176] (13)Permission denied: [client 81.198.48.253:58347] AH00035: access to /favicon.ico denied (filesystem path '/home/chroot/websites/specialselektrods.lv/favicon.ico') because search permissions are missing on a component of the path, referer: http://www.specialselektrods.lv/
81.198.48.253 - - [15/Dec/2018:17:05:08 +0100] "GET /favicon.ico HTTP/1.1" 403 526 "http://www.specialselektrods.lv/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
答案1
[Sat Dec 15 17:05:08.000730 2018] [core:error] [pid 10465:tid 139960015378176] (13)Permission denied: [client 81.198.48.253:58347] AH00035: access to /favicon.ico denied (filesystem path '/home/chroot/websites/specialselektrods.lv/favicon.ico') because search permissions are missing on a component of the path, referer: http://www.specialselektrods.lv/
要更改目录,必须具有 +x 或执行权限。这适用于整个路径。
使用将 +x 添加到/home
、/home/chroot
等等。/home/chroot/websites
chmod +x /path