wekind 写道:jack , 我想请问一下, 我屏蔽中国的IP, 然后要屏蔽美国的64.124.0.0/15这个IP段,在htaccess里是不是这样写?
<Limit GET HEAD POST>
order allow,deny
# Country: CHINA
# ISO Code: CN
# Total Networks: 1,704
# Total Subnets: 234,461,696
deny from 58.14.0.0/15
deny from 58.16.0.0/16
………………
deny from 222.249.176.0/20
deny from 222.249.192.0/18
## Country: UNITED STATES
# ISO Code: US
# Total Networks: 37,886
# Total Subnets: 1,494,899,198
deny from 64.124.0.0/15
#
allow from all
</Limit>
急。。。。谢谢
这样只是屏蔽了 64.124.0.0/15 这个IP段, 美国其他的IP都还能访问是吧?