https://www.mylawcn.com/p/728662ae0a59e
<VirtualHost *:80>
DocumentRoot "d:/web/"
ServerName www.xxx.com
<Directory "d:/web/">
Options FollowSymLinks
AllowOverride all
<RequireAll>
Require all granted
# 屏蔽某一特定IP
Require not ip 171.8.172.102
# 屏蔽某一特定IP段
Require not ip 123.149 171.8 125.41 125.46 61.52 123.60 222.137 123.52 1.192 182.119 123.161 221.15 123.160 27.115.124 42.236.10
</RequireAll>
</Directory>
</VirtualHost>