title: Apache: "AuthType not set!" 500 Error
body: <p>It's been a while since I used the Apache httpd web server.  I'm firing up a local server for a project and when I try to request localhost/index.html, I get a 500 error and I see this in the error log:</p>
  
  <pre><code>[Tue Jan 21 09:23:58 2014] [crit] [client ::1] configuration error:  couldn't perform authentication. AuthType not set!: /index.html
  [Tue Jan 21 09:23:58 2014] [error] an unknown filter was not added: DEFLATE
  [Tue Jan 21 09:23:58 2014] [crit] [client ::1] configuration error:  couldn't perform authentication. AuthType not set!: /favicon.ico
  </code></pre>
  
  <p>It looks like there are possibly 2 errors here in the apache config, one related to "AuthType not set!" and possibly another related to "filter was not added: DEFLATE".  I dont know what these means or where to start digging in.  </p>
  
  <p>A basic Google search revealed <a href="http://boinc.berkeley.edu/dev/forum_thread.php?id=8603" rel="noreferrer">this link</a> which indicates that the culprit may be "Require all granted".  This line in my httpd.conf may be involved.</p>
  
  <pre><code>&lt;Directory "/var/www"&gt;
      AllowOverride None
      # Allow open access:
      Require all granted
  &lt;/Directory&gt;
  </code></pre>
  
  <p>This apache config is mostly what is used in production for this project, so I know this works, just not currently on my workstation.  What does this mean and what should I try next?  I did try commenting out "Require all granted" and restarting apache but to no avail.</p>
  
  <p>Following <a href="https://stackoverflow.com/questions/18064060/django-with-mod-wsgi-on-apache-500-error-authtype-not-set">this SO question</a> I also loaded mod_authz_host</p>
  
  <pre><code>LoadModule authz_host_module modules/mod_authz_host.so
  </code></pre>
  
  <p>and added "Allow from all", restarted the server,. but the issue persists.  The deflate issue appears to be unrelated, and was easily solved by adding </p>
  
  <pre><code>LoadModule deflate_module modules/mod_deflate.so
  </code></pre>
  
  <p>The question remains, how do I solve this 500 error?</p>
  
  <pre><code>[Tue Jan 21 09:44:20 2014] [crit] [client ::1] 
  configuration error:  couldn't perform authentication. 
  AuthType not set!: /index.html
  </code></pre>