dantengde 发表于 2017-3-18 12:03:01

.htaccess屏蔽IP 不起作用

Order Allow,Deny
Allow from all   
Deny from x.x.x.x

并没起作用,iptables检查过,没问题。大概会是什么原因呢

查无此人 发表于 2017-3-18 12:21:24


lol.gif
有人帮忙分析下吗

dantengde 发表于 2017-3-18 12:20:53

[*]
[*]order allow,deny
[*]allow from all
[*]
[*]
[*]deny from 123.125.160.216
[*]deny from 43.246.208.157复制代码

nic2013 发表于 2017-3-18 12:28:12


nic2013 发表于 2017-3-18 12:28

这个cpanel自动生成的代码 也试了,没用

dantengde 发表于 2017-3-18 19:30:12

Order Allow,Deny顺序 换一下

osiris 发表于 2017-3-18 12:28:00


osiris 发表于 2017-3-18 19:58

Order Allow,Deny顺序 换一下

换了下,还不行。

dantengde 发表于 2017-3-18 19:58:08


查无此人 发表于 2017-3-18 12:21

allow ,deny顺序换一下
瞬间懂了

whiledone 发表于 2017-3-18 20:12:42

你同意了所有,就忽略了不放行了啊
页: [1]
查看完整版本: .htaccess屏蔽IP 不起作用