On Nov 2, 2014, at 16:22 , Marco Pizzoli <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to