只允许在Apache中使用IPv6地址
答
order deny,allow
deny from all
allow from 2000::/3
https://httpd.apache.org/docs/current/mod/mod_access_compat.html为了让拒绝不赞成使用需要 –
@ThomasSchäfer我应该'为了否认,allow'变得呢? “要求所有被授予的”或“要求所有被拒绝”? – Geremia
::/0不起作用,::也接受IPv4,请尝试2000 ::/3 –