Re: [gentoo-user] apache htaccess - block IP range

2020-03-18 Thread Alarig Le Lay
Hi, On mar. 17 mars 15:47:36 2020, the...@sys-concept.com wrote: > How to block in .htaccess file certain IP range? > > I have bot from huawei.com on my server for several days: > IP: 114.119.128.0 - 114.119.191.255 > Or just block all China In a case like this, I’m not trying to bother about

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread thelma
On 03/17/2020 04:51 PM, Michael wrote: > Please do not top-post in this mailing list. > > On Tuesday, 17 March 2020 22:41:26 GMT the...@sys-concept.com wrote: >> I have tried (doesn't work) >> >> >> order allow,deny >> allow from all >> >> # block spamers: >> deny from huawei.com >> >> >> I'm

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread Michael
Please do not top-post in this mailing list. On Tuesday, 17 March 2020 22:41:26 GMT the...@sys-concept.com wrote: > I have tried (doesn't work) > > > order allow,deny > allow from all > > # block spamers: > deny from huawei.com > > > I'm still getting over 800-entires from: 114.119.128.0 -

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread thelma
I have tried (doesn't work) order allow,deny allow from all # block spamers: deny from huawei.com I'm still getting over 800-entires from: 114.119.128.0 - 114.119.191.255 Thelma On 03/17/2020 04:00 PM, Michael wrote: > Require not ip 114.119.128.0/255.255.255.0

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread thelma
The below are not blocking those IP's : deny from 114.119.128.0/24 deny from 114.119.128.0 Thelma On 03/17/2020 04:00 PM, Michael wrote: > On Tuesday, 17 March 2020 21:56:29 GMT the...@sys-concept.com wrote: >> Will it work: >> deny from 114.119.128.0/114.119.191.255 >> >> Thelma > > It is

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread thelma
I'm still using apache 2.2 So I think it should be: deny from 114.119.128.0/24 With the: Require all granted Require not ip 114.119.128.0/24 I couldn't even access my own webpage from localhost. Thelma On 03/17/2020 04:00 PM, Michael wrote: > On Tuesday, 17 March 2020 21:56:29 GMT

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread Michael
On Tuesday, 17 March 2020 21:56:29 GMT the...@sys-concept.com wrote: > Will it work: > deny from 114.119.128.0/114.119.191.255 > > Thelma It is better to use this syntax: Require all granted Require not ip XX.XXX.XX.XXX So your example address space becomes: Require not ip

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread thelma
Will it work: deny from 114.119.128.0/114.119.191.255 Thelma On 03/17/2020 03:47 PM, the...@sys-concept.com wrote: > How to block in .htaccess file certain IP range? > > I have bot from huawei.com on my server for several days: > IP: 114.119.128.0 - 114.119.191.255 > Or just block all China >

[gentoo-user] apache htaccess - block IP range

2020-03-17 Thread thelma
How to block in .htaccess file certain IP range? I have bot from huawei.com on my server for several days: IP: 114.119.128.0 - 114.119.191.255 Or just block all China -- Thelma