You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nilesh Govindarajan <li...@itech7.com> on 2010/04/07 07:15:20 UTC

[users@httpd] Deny from all force

Hi,

I have installed mod_geoip.

Now I want block Chinese and Russian visitors which should not 
overridden in .htaccess

I.e. The Deny directive should work globally and should not be 
overridden by any other 'Allow from All' directives.

Is this possible or I have to configure this in every .htaccess ?

-- 
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
मेरा भारत महान !
मम भारत: महत्तम भवतु !

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Deny from all force

Posted by Nilesh Govindarajan <li...@itech7.com>.
On 04/12/10 04:17, Devraj Mukherjee wrote:
> Obviously you are not considering people using "proxies" get around IP
> subnets. I would recommend the use of fail2ban and other tools like
> that to block them on a per case basis, rather than blocking the whole
> country off.
>
> Since this is not an ethics list, I will leave this discussion here.
> The web is about freedom of information.
>
> On Mon, Apr 12, 2010 at 2:25 AM, Nilesh Govindarajan<li...@itech7.com>  wrote:
>> On 04/10/10 13:53, Devraj Mukherjee wrote:
>>>
>>> Hi Nilesh,
>>>
>>> Deny and Allow option override can be globally configured as such
>>> http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride
>>>
>>> I was wondering how and more importantly WHY you plan to block users
>>> from particular countries?
>>>
>>> On Wed, Apr 7, 2010 at 3:15 PM, Nilesh Govindarajan<li...@itech7.com>
>>>   wrote:
>>>>
>>>> Hi,
>>>>
>>>> I have installed mod_geoip.
>>>>
>>>> Now I want block Chinese and Russian visitors which should not overridden
>>>> in
>>>> .htaccess
>>>>
>>>> I.e. The Deny directive should work globally and should not be overridden
>>>> by
>>>> any other 'Allow from All' directives.
>>>>
>>>> Is this possible or I have to configure this in every .htaccess ?
>>>>
>>>> --
>>>> Nilesh Govindarajan
>>>> Site&    Server Administrator
>>>> www.itech7.com
>>>> मेरा भारत महान !
>>>> मम भारत: महत्तम भवतु !
>>>>
>>>> ---------------------------------------------------------------------
>>>> The official User-To-User support forum of the Apache HTTP Server
>>>> Project.
>>>> See<URL:http://httpd.apache.org/userslist.html>    for more info.
>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>
>> Chinese and Russians were creating nuisance on my site, so wanted to block
>> them all. I did it using ipset.
>>
>> --
>> Nilesh Govindarajan
>> Site&  Server Administrator
>> www.itech7.com
>> मेरा भारत महान !
>> मम भारत: महत्तम भवतु !
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See<URL:http://httpd.apache.org/userslist.html>  for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
>

True, doesn't exclude proxy users. I have enabled some spam filters on 
my site, I will try to give them another chance. :)

-- 
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
मेरा भारत महान !
मम भारत: महत्तम भवतु !

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Deny from all force

Posted by Devraj Mukherjee <de...@gmail.com>.
Obviously you are not considering people using "proxies" get around IP
subnets. I would recommend the use of fail2ban and other tools like
that to block them on a per case basis, rather than blocking the whole
country off.

Since this is not an ethics list, I will leave this discussion here.
The web is about freedom of information.

On Mon, Apr 12, 2010 at 2:25 AM, Nilesh Govindarajan <li...@itech7.com> wrote:
> On 04/10/10 13:53, Devraj Mukherjee wrote:
>>
>> Hi Nilesh,
>>
>> Deny and Allow option override can be globally configured as such
>> http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride
>>
>> I was wondering how and more importantly WHY you plan to block users
>> from particular countries?
>>
>> On Wed, Apr 7, 2010 at 3:15 PM, Nilesh Govindarajan<li...@itech7.com>
>>  wrote:
>>>
>>> Hi,
>>>
>>> I have installed mod_geoip.
>>>
>>> Now I want block Chinese and Russian visitors which should not overridden
>>> in
>>> .htaccess
>>>
>>> I.e. The Deny directive should work globally and should not be overridden
>>> by
>>> any other 'Allow from All' directives.
>>>
>>> Is this possible or I have to configure this in every .htaccess ?
>>>
>>> --
>>> Nilesh Govindarajan
>>> Site&  Server Administrator
>>> www.itech7.com
>>> मेरा भारत महान !
>>> मम भारत: महत्तम भवतु !
>>>
>>> ---------------------------------------------------------------------
>>> The official User-To-User support forum of the Apache HTTP Server
>>> Project.
>>> See<URL:http://httpd.apache.org/userslist.html>  for more info.
>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
>>
>>
>>
>
> Chinese and Russians were creating nuisance on my site, so wanted to block
> them all. I did it using ipset.
>
> --
> Nilesh Govindarajan
> Site & Server Administrator
> www.itech7.com
> मेरा भारत महान !
> मम भारत: महत्तम भवतु !
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Deny from all force

Posted by Nilesh Govindarajan <li...@itech7.com>.
On 04/10/10 13:53, Devraj Mukherjee wrote:
> Hi Nilesh,
>
> Deny and Allow option override can be globally configured as such
> http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride
>
> I was wondering how and more importantly WHY you plan to block users
> from particular countries?
>
> On Wed, Apr 7, 2010 at 3:15 PM, Nilesh Govindarajan<li...@itech7.com>  wrote:
>> Hi,
>>
>> I have installed mod_geoip.
>>
>> Now I want block Chinese and Russian visitors which should not overridden in
>> .htaccess
>>
>> I.e. The Deny directive should work globally and should not be overridden by
>> any other 'Allow from All' directives.
>>
>> Is this possible or I have to configure this in every .htaccess ?
>>
>> --
>> Nilesh Govindarajan
>> Site&  Server Administrator
>> www.itech7.com
>> मेरा भारत महान !
>> मम भारत: महत्तम भवतु !
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See<URL:http://httpd.apache.org/userslist.html>  for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
>

Chinese and Russians were creating nuisance on my site, so wanted to 
block them all. I did it using ipset.

-- 
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
मेरा भारत महान !
मम भारत: महत्तम भवतु !

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Deny from all force

Posted by Devraj Mukherjee <de...@gmail.com>.
Hi Nilesh,

Deny and Allow option override can be globally configured as such
http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride

I was wondering how and more importantly WHY you plan to block users
from particular countries?

On Wed, Apr 7, 2010 at 3:15 PM, Nilesh Govindarajan <li...@itech7.com> wrote:
> Hi,
>
> I have installed mod_geoip.
>
> Now I want block Chinese and Russian visitors which should not overridden in
> .htaccess
>
> I.e. The Deny directive should work globally and should not be overridden by
> any other 'Allow from All' directives.
>
> Is this possible or I have to configure this in every .htaccess ?
>
> --
> Nilesh Govindarajan
> Site & Server Administrator
> www.itech7.com
> मेरा भारत महान !
> मम भारत: महत्तम भवतु !
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org