On Nov 2, 2014, at 16:22 , Marco Pizzoli <marco.pizz...@gmail.com> wrote:

> I mean;
> <If "%{HTTP:X-ClientIP} =~ /(1\.1\.1\.1|2\.2\.2\.2)/">

that looks somewhat dangerous. I haven't checked the Documentation for =~
but I assume that you have to anchor that expression, since you would
allow IPs like 231.1.1.145 otherwise. Something like

<If "%{HTTP:X-ClientIP} =~ /^(1\.1\.1\.1|2\.2\.2\.2)$/">

would be better.



rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to