IP Blocking Help
I'm trying to block specific IP address and IP address ranges from accessing my web site. The following is that I have in my /usr/local/apache/htdocs/.htaccess file ... all it seems to do it deny all ... what I am doing wrong?
<Directory "/usr/local/apache/htdocs"> AllowOverride Options </Directory> <Limit GET> order deny,allow deny from 64.81.87. deny from 64.81.95. deny from 64.81.102. deny from 64.81.240. deny from 64.162.177.122 deny from 64.173.177.207 deny from 64.175.106.20 deny from 64.230.86.30 deny from 67.126.114.77 deny from 208.59.199.232 allow from all </Limit> |
*shrug* instead of denying via apache, why not just deny them via iptables?
|
remove the order deny,allow and
put the <Limit GET> into <Directory> container and try again |
All times are GMT -5. The time now is 12:28 AM. |