httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carmel <carmel...@hotmail.com>
Subject [users@httpd] Configuring <Limit GET HEAD POST> in httpd.conf file.
Date Mon, 14 Mar 2011 18:12:01 GMT
I apologize if this has been answered before. I have had a running
Apache server now for several months. I am constantly getting bombarded
with attempts by IPs from China trying to gain access to my network.
I do not need users from China to have access to my server. I would like
to use something like the list that follows to stop it. Unfortunately,
I am not sure exactly where in my httpd.conf file I should put this so
it works correctly. I have a very basic conf file and am not using
virtual users although I do have SSL working.

This list originates from: <http://www.countryipblocks.net/>

<Limit GET HEAD POST>
order allow,deny
# Country: CHINA
# ISO Code: CN
# Total Networks: 1,927
# Total Subnets:  308,311,808
deny from 1.12.0.0/14
deny from 1.24.0.0/13
deny from 1.45.0.0/16
deny from 1.48.0.0/15
#more entries
#
allow from all
</Limit>

Thanks!

-- 
Carmel ✌
carmel_ny@hotmail.com

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
__________________________________________________________________

---------------------------------------------------------------------
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


Mime
View raw message