title: Error 500 on .htpassword, page doesn't display after login
body: <p>I've tried for hours to get .htaccess and .htpassword to work for a specific part of my website.</p>
  
  <p>Here's the code for .htaccess</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>AuthType Basic
  AuthName "Welcome. Please Enter Your Password."
  AuthUserFile /public_html/assets/testprivate/.htpasswd
  Require valid-user</code></pre>
  </div>
  </div>
  </p>
  
  <p>And here's the code used for the .htpasswordfile</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>username:encryptedpassword</code></pre>
  </div>
  </div>
  </p>
  
  <p>The password box appears but I don't know why once it is entered the page doesn't appear?</p>
  
  <p>Can someone please help me. Is there also a way that I could make it so that only certain users can view the page?</p>
  
  <p>Thanks in advance.</p>