简体   繁体   中英

Only allow IPv6 addresses in Apache

How would I, in Apache, allow only IPv6 addresses to access my site?

This does not work:

order deny,allow
deny from all
allow from ::/0

It says "The specified network mask is invalid."

Reference:

order deny,allow
deny from all
allow from 2000::/3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM