[CentOS] Size limitations in .htaccess

Marios Zindilis marios at zindilis.com
Wed May 29 19:55:14 UTC 2013


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.com

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



More information about the CentOS mailing list