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

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

:lol有人帮忙分析下吗

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

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 123.125.160.216
deny from 43.246.208.157

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

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


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

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

Order Allow,Deny顺序 换一下

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

osiris 发表于 2017-3-18 19:58
Order Allow,Deny顺序 换一下

换了下,还不行。

whiledone 发表于 2017-3-18 22:20:31

查无此人 发表于 2017-3-18 12:21
allow ,deny顺序换一下

瞬间懂了

xuhao0080 发表于 2017-4-7 21:37:34

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