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]RewriteRule \.*$ - [F,NC]
but in this way works fine only the first address (232). How can I add the 
another IP (233) in my list of allowed IP?
Thanks 
Michael

   

Reply via email to