本帖最后由 xingzhihai 于 2015-8-7 00:37 编辑
【拒绝所有请求】
2.2配置:
- Order deny,allow
- Deny from all
- Require all denied
- Order allow,deny
- Allow from all
- Require all granted
- Order Deny,Allow
- Deny from all
- Allow from example.org
- Require host example.org
- Order Allow,Deny
- Allow from all
- Deny from example.org
- Require all granted
- Require not host example.org
2.4配置:
2.2配置:
【允许example.org域访问所有主机,拒绝其他主机访问。】
2.2配置:
2.2配置:
注:【**】无特别说明时代表注释
0
本帖最后由 xingzhihai 于 2015-8-7 00:43 编辑
相关帖子:
apache2.2 到 2.4后配置文件需要更改的部分
http://www.apelearn.com/bbs/fo ... D5240
相关文档:
Upgrading to 2.4 from 2.2
http://httpd.apache.org/docs/2.4/upgrading.html
附上我的博客:
http://starocean.top/blog/
相关帖子:
apache2.2 到 2.4后配置文件需要更改的部分
http://www.apelearn.com/bbs/fo ... D5240
相关文档:
Upgrading to 2.4 from 2.2
http://httpd.apache.org/docs/2.4/upgrading.html
附上我的博客:
http://starocean.top/blog/
编辑回复