title: Apache AllowOverride none doesn't work for sub-directories once All has been applied first
body: <p>I'm not sure what is wrong here, but I have the following conf:</p>
  
  <pre><code>    # Root
      &lt;Directory /var/www/xxx/&gt;
              AllowOverride All
  
              Header always append Directory Home
      &lt;/Directory&gt;
  
  
      # images
      &lt;Directory /var/www/xxx/images/&gt;
              AllowOverride None
  
              Order allow,deny
              allow from all
  
              Header always append Directory images
      &lt;/Directory&gt;
  </code></pre>
  
  <p>Inside the root dir I have an .htaccess file, to include it everywhere in the directory.</p>
  
  <p>What I'm trying to do - is to exclude "images" dir from this configuration.
  I've added a special header for every directory so I can debug it, and according to the CURL command below - it follow the rules correctly.</p>
  
  <pre><code>&lt; HTTP/1.1 401 Authorization Required
  &lt; Directory: Home, images
  &lt; Last-Modified: Fri, 21 Sep 2012 09:47:28 GMT
  &lt; ETag: "9e81e5-4069-20b94c00"
  &lt; Accept-Ranges: bytes
  &lt; Content-Length: 16489
  &lt; Connection: close
  &lt; Content-Type: image/png
  </code></pre>
  
  <p>The problem is that I'm receiving 401 instead of 200OK, according to the headers ( Home, images ) - it first get the "All" and then should overwrite it with "None" - but it doesn't, I'm still receiving the 401, what can be the problem here ?</p>