Re: Size limitations in .htaccess

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



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@xxxxxxxxx

You 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux