Re: [us...@httpd] How to block IP addresses to the whole server?

2010-03-16 Thread Je suis la poubelle
Thanks to all for your replies. For the record, is the best option for me. This is the solution I use: edit /etc/apache2/httpd.conf to add the following section: Order Allow,Deny Deny from xx.xx.xx.xx Deny from xx.xx.xx.xx Allow from all There is nevertheless one thing I wo

Re: [us...@httpd] How to block IP addresses to the whole server?

2010-03-12 Thread Je suis la poubelle
Yes, I had created hosts.deny as well (but I forgot to mention it) but it had no effect. On Thu, Mar 11, 2010 at 22:28, Igor Cicimov wrote: > You need to put the ip in the hosts.deny file > > On Mar 12, 2010 3:11 AM, "John Doe" wrote: > > From: Je suis la poub

Re: [us...@httpd] How to block IP addresses to the whole server?

2010-03-12 Thread Je suis la poubelle
On Thu, Mar 11, 2010 at 17:07, Philip Wigg wrote: > On 11 March 2010 14:42, Je suis la poubelle wrote: >> By going down all those conf files and reading from the web, I >> understand that I could write >> >> deny from a.b.c.d >> >> inside every

Re: [us...@httpd] How to block IP addresses to the whole server?

2010-03-11 Thread Je suis la poubelle
anks On Thu, Mar 11, 2010 at 16:22, j0rn wrote: > Hi / Salut > > Seems you just want to defintely blacklist a specific IP address > So, just remember you also have a firewall : > > iptables -A INPUT -s -j DROP > > cheers > > > On 11/03/2010 15:42, Je suis la poubelle

[us...@httpd] How to block IP addresses to the whole server?

2010-03-11 Thread Je suis la poubelle
By going down all those conf files and reading from the web, I understand that I could write deny from a.b.c.d inside every section I could find in order to block access to IP address a.b.c.d   However, there are quite a lot of sections in several conf files.  Is there a way to block