[CentOS] Size limitations in .htaccess

Thu May 30 00:12:24 UTC 2013
SilverTip257 <silvertip257 at gmail.com>

On Wed, May 29, 2013 at 5:24 PM, <m.roth at 5-cent.us> wrote:

> 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?
>

Or blocking netblocks rather than individual IPs in your .htaccess file?
Netblocks with iptables would work nicely too (keeping the clutter to a
minimum).


>
>      mark
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //