Thanks Pete, I was using mod_rewrite in <VirtualHost *:80> block. Apache works like a reverse-proxy. Is there a way to insert more IP? Thanks for your advise. Michael
----Messaggio originale---- Da: p...@openstrike.co.uk Data: 27-giu-2014 11.55 A: <users@httpd.apache.org>, "Michele De Santis"<tap...@virgilio.it> Ogg: Re: [users@httpd] mod_rewrite RewriteCond Hello Michael, The obvious question is why are you using mod_rewrite for access control in the first place? There are other, lighter modules whose purpose actually is access control and which will allow you to use CIDR notation etc. I suggest you take a look at mod_authz_host instead. Pete -- Openstrike - improving business through open source http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107