title: Restrict access to IP with htaccess
body: <p>i need restrict access to all except some ip, i place into .htaccess this lines:</p>
  
  <pre><code>Require all denied
  Require ip 1.1.1.1 2.2.2.2
  </code></pre>
  
  <p>In this case, the access is denied for all, i f i use:</p>
  
  <pre><code>Require all granted
  Require ip 1.1.1.1 2.2.2.2
  </code></pre>
  
  <p>All can access to directory.</p>
  
  <p><code>AllowOverride</code> directive is set to <code>All</code>, <code>mod_rewrite</code> is installed and mod_authz is loaded, apache 2.4 installed into ubuntu server, any ideas?</p>
  
  <p>UPDATE</p>
  
  <p>I have tried also with</p>
  
  <pre><code>Require all denied
  Require ip 1.1.1.1 
  Require ip 2.2.2.2
  </code></pre>
  
  <p>But nothing...</p>