gpt4 book ai didi

linux - Apache 2.4.18,403 : Forbidden

转载 作者:太空宇宙 更新时间:2023-11-04 12:25:26 24 4
gpt4 key购买 nike

<分区>

我在 Ubuntu 16.04 上使用 Apache 2.4.18。我的 Ubuntu 服务器上有 2 个磁盘,HDD 和 SSD。在 HDD 上安装了 Apache,在 SSD 上安装了我想从浏览器访问的目录。

服务器只返回 403:禁止。

这是我尝试过的。在 apache2.conf 中创建:

# DocumentRoot or ServerRoot is commented

Alias /weblink /directory/on/ssd
...

<Directory /weblink>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require all granted
</Directory>

将 CHMOD 更改为 777。将 CHOWN 更改为根用户。

Apache 给我这个错误:

[Mon Jul 03 00:10:32.362552 2017] [authz_core:error] [pid 1332] [client 31.xxx.xxx.xxx:59063] AH01630: client denied by server configuration:

此时我真的不知道该怎么办,这让我发疯。我一直在寻找解决方案几个小时,但仍然没有找到解决方案。

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com