我在Ubuntu 16.04上使用Apache 2.4.18。我的Ubuntu服务器上有2个磁盘,硬盘和SSD。在HDD上安装了Apache,并且在SSD上安装了我想要从浏览器访问的目录。Apache 2.4.18,403:禁止
服务器刚刚返回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:
我真的不知道该怎么在这一点上做的,它让我发疯。我一直在寻找解决方案几个小时,但仍然没有找到解决方案。
Stack Overflow是编程和开发问题的网站。这个问题似乎与题目无关,因为它不涉及编程或开发。请参阅帮助中心的[我可以询问哪些主题](http://stackoverflow.com/help/on-topic)。也许[Web Applications Stack Exchange](http://webapps.stackexchange.com/),[Webmaster Stack Exchange](http://webmasters.stackexchange.com/)或[Unix&Linux Stack Exchange](http:// unix.stackexchange.com/)会是一个更好的地方。 – jww