使用XAMPP Linux的Apache403无处不在
我对使用Apache相当陌生,我们在这里使用XAMPP,所以为了简单起见,我需要使用它。我在让Apache查看我的文件时遇到问题。我在httpd的日志中发现此错误:使用XAMPP Linux的Apache403无处不在,linux,apache,xampp,Linux,Apache,Xampp,我对使用Apache相当陌生,我们在这里使用XAMPP,所以为了简单起见,我需要使用它。我在让Apache查看我的文件时遇到问题。我在httpd的日志中发现此错误: [Thu Sep 17 16:16:46.944172 2020] [core:error] [pid 10036] (13)Permission denied: [client ::1:39318] AH00035: access to / denied (filesystem path '/home/mrblob/Documen
[Thu Sep 17 16:16:46.944172 2020] [core:error] [pid 10036] (13)Permission denied: [client ::1:39318] AH00035: access to / denied (filesystem path '/home/mrblob/Documents') because search permissions are missing on a component of the path
[Thu Sep 17 16:16:47.170688 2020] [core:error] [pid 10036] (13)Permission denied: [client ::1:39318] AH00035: access to /favicon.ico denied (filesystem path '/home/mrblob/Documents') because search permissions are missing on a component of the path, referer: http://localhost:81/
我的网站文件是/home/mrblob/Documents/web/
我的httpd.cnf文件中有:
<Directory "/home/mrblob/Documents/web/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
Require all granted
Order allow,deny
AllowOverride None
Allow from all
</Directory>
选项索引如下SYMLINKS包括ExecCGI
要求所有授权
命令允许,拒绝
不允许超限
通融
我还尝试了不同权限的chmod。。。我试过很多不同的方法。。。我还没开始工作。仅供参考phpmyadmin以及XAMPP的仪表板工作正常。我想要的任何其他页面都会抛出403
谢谢。所以我想我只需要访问Apache,我知道我需要这样做,但我想的都试过了。我的 sudo chmod ugo+rwx
我知道这不是最安全的方式,但我现在只是本地主机,所以这不是什么大问题。我对Linux的许可系统也相当陌生。