【发布时间】:2020-09-09 00:17:39
【问题描述】:
我有一个在 Apache 2.4 Debian Buster 上使用的工作配置。但是我无法判断是什么导致了错误,因为系统实际上是在解释指令并基于它拒绝访问而不是允许访问。
<location /restricted>
<RequireAny>
#Admin1
Require ip 192.168.172.241
</RequireAny>
</location>
此位置是内部节点的反向代理,因此虚拟主机配置中的唯一目录是:
<Directory /var/www/html>
Options -Indexes +FollowSymLinks
AllowOverride All
</Directory>
在虚拟主机错误日志中,我收到以下消息:
[authz_core:error] [pid 20896] [client 192.168.172.241:58346] AH01630: client denied by server configuration: proxy:http://[internal.ip:port]
提前感谢您的帮助。
【问题讨论】: