xxqyzsc 发表于 2017-12-25 15:46:25

apache配置访问限制

  Order deny,allow
  Deny from all
  All from example.com #允许某个域名
  All from 10.0.0.1 #允许一个ip
  All from 10.0.0.1 10.0.0.2 #允许多个ip
  Allow from 10.1.0.0/255.255.0.0 #允许一个ip段,掩码对
  All from 10.0.1 192.168 #允许一个ip段,后面不填写
  All from 192.168.0.0/24 #允许一个ip段,网络号
页: [1]
查看完整版本: apache配置访问限制