From the docs给出的示例包含多个指令,例如
<RequireAll>
Require all granted
Require not ip 192.168.205
Require not host phishers.example.com moreidiots.example
Require not host ke
</RequireAll>
但不适用于
Server version: Apache/2.4.37 (Unix)
Server built: Jan 2 2019 11:35:45
Server's Module Magic Number: 20120211:83
要使其正常运行,
Require all denied
<RequireAll>
Require ip 127.0.0.1
</RequireAll>
<RequireAll>
Require ip 192.168.1.4/24
</RequireAll>
不是
Require all denied
<RequireAll>
Require ip 127.0.0.1
Require ip 192.168.1.4/24
</RequireAll>
我搞砸了吗?