title: apache 2.2: no authentication in subdirectory
body: <p>I am running apache 2.2 on a linux machine and my goal is to have all directories except for a subdirectory with authentification. I can get the "all" directories to work, but when I add the except for the subdirectory, I get an internal error:</p>
  
  <pre><code>configuration error:  couldn't check user.  No user file?: /download/public/
  </code></pre>
  
  <p>This is my configuration file:</p>
  
  <pre><code>&lt;Directory /var/www/mydir/software/download/public&gt;
       AuthType None
       Require all granted
  &lt;/Directory&gt;
  
  
  &lt;Directory /var/www/mydir/software&gt;
        AuthType Basic
        AuthName download
        AuthUserFile /etc/apache2/auth/software
        Require valid-user
   &lt;/Directory&gt;
  </code></pre>
  
  <p>when I comment out the first four lines, everything works fine. With these lines, I get the aforementioned error.</p>
  
  <pre><code>$ apache2 -v
  Server version: Apache/2.2.8 (Ubuntu)
  </code></pre>
  
  <p>Question: what do I need to change to get the subdirectory without authentification with apache 2.2. I believe that the configuration above is for 2.4. Is that what I want possible with 2.2?</p>