Re: How to block IP addresses to the whole server?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



     Thanks to all for your replies.  For the record, <location> is
the best option for me.  This is the solution I use:

edit /etc/apache2/httpd.conf to add the following section:
<Location />
  Order Allow,Deny
  Deny from xx.xx.xx.xx
  Deny from xx.xx.xx.xx
  Allow from all
</Location>

     There is nevertheless one thing I would like to do, but I'm
afraid I'm too demanding :p

     Reply to forbidden IP addresses is a page full of informations:
Linux distro and version, Apache version, PHP version and all the
module versions.  Possible to prevent them from being shown?

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux