Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
deny from 64.81.87.
deny from 64.81.95.
deny from 64.81.102.
deny from 64.81.240.
deny from 220.127.116.11
deny from 18.104.22.168
deny from 22.214.171.124
deny from 126.96.36.199
deny from 188.8.131.52
deny from 184.108.40.206
allow from all