外部存储/硬盘驱动器:403禁止-您无权访问此资源。 (Apache2)

问题描述 投票:0回答:1

我已将我的外部硬盘驱动器安装在我的文件夹/ ssd / web中,所以我修改了apache2.conf,将/ var / www更改为/ ssd / web,但出现此错误(我在Debian上:

Forbidden
You don't have permission to access this resource.

Apache/2.4.25 (Debian) Server at 192.168.31.144 Port 80

我已经完成了所知道的所有事情:chmod -R 777 / ssd / web,chown www-data / ssd / web但是错误仍然存​​在。

当我重新启动计算机后,完成chmod -R 777 / ssd / web时,将www-data / ssd / web锁定,则不再安装外部硬盘驱动器

(对不起我的英语不好)

apache permissions http-status-code-403 httpforbiddenhandler
1个回答
0
投票

我遇到同样的问题。我试图在Raspbian Buster上使用台式机和推荐的软件/ 2020年2月版(这是一个基于Debian的OS)进行相同的处理。

如果喜欢解决方案,我会写一个答案。

© www.soinside.com 2019 - 2024. All rights reserved.