Greetings, It seems that I've hit a size limitation when adding unwanted IPs to a "Deny From" line. Is there any place where this is specified? Also, if I hit the max length on a "Deny From" line, can I add another "Deny From" line? (Running CentOS 6, and the following version of Apache: httpd-2.2.15-28.el6.centos.x86_64) Much thanks, Max Pyziur pyz at brama.com
On 05/29/2013 10:51 PM, Max Pyziur wrote:> > Greetings, > > It seems that I've hit a size limitation when adding unwanted IPs to a > "Deny From" line. > > Is there any place where this is specified? > > Also, if I hit the max length on a "Deny From" line, can I add another > "Deny From" line? > > (Running CentOS 6, and the following version of Apache: > httpd-2.2.15-28.el6.centos.x86_64) > > > Much thanks, > > Max Pyziur > pyz at brama.comYou can have multiple "deny from" lines, as well as multiple "allow from" lines (in case you want to configure access like a whitelist). Multiple lines also help readability. -- Marios Zindilis
Max Pyziur wrote:> > Greetings, > > It seems that I've hit a size limitation when adding unwanted IPs to a > "Deny From" line. > > Is there any place where this is specified? > > Also, if I hit the max length on a "Deny From" line, can I add another > "Deny From" line? > > (Running CentOS 6, and the following version of Apache: > httpd-2.2.15-28.el6.centos.x86_64)Have you considered running fail2ban, and banning them using iptables? mark