[users@httpd] R: Re: [users@httpd] mod_rewrite RewriteCond

2014-06-27 Thread Michele De Santis
Thanks Pete, I was using mod_rewrite in 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: , "Michele De Santis" Ogg: Re: [users@httpd] m

[users@httpd] mod_rewrite RewriteCond

2014-06-27 Thread Michele De Santis
Hi to all, I'm working with apache 2.2.3-22 and I want to allow access a certain IP address. These IP are consecutive x.x.x.232 x.x.x.233 in my httpd.conf I'm using RewriteCond %{REMOTE_ADDR} !x\.x\.x\.23[23]$ [NC]RewriteRule \.*$ - [F,NC] or RewriteCond %{REMOTE_ADDR} !x\.x\.x\.23[2-3]$ [NC]R