title: htaccess adding password while enabling directories view in browser
body: <p>Okay this might be a very obvious one however... </p>
  
  <p><strong>I have</strong> the following in my .htaccess file </p>
  
  <pre><code>AuthType Basic
  AuthName "Message"
  AuthUserFile /www/sites/5ce/448/domainname/folder.htpasswd
  require valid-user
  </code></pre>
  
  <p>Which works fine for password protecting the folder it's placed in.</p>
  
  <p><strong>I also have</strong> in another .htaccess file (when I remove the first one)</p>
  
  <pre><code>Options +indexes 
  </code></pre>
  
  <p>Which works fine for showing the directory folder and included files on browser.</p>
  
  <p>When I put these together i get Error 500. How do you essentially enable directory view but password protected? </p>