title: Debian 8 - Enabled .htaccess
body: <p>My server turn on Debian 8 (Jessie).</p>
  
  <p>I try to enabled htaccess on apache, so I edited</p>
  
  <pre><code>nano /etc/apache2/apache2.conf
  </code></pre>
  
  <p>and I changed</p>
  
  <pre><code>&lt;Directory /var/www/&gt;
          Options Indexes FollowSymLinks
          AllowOverride None
          Require all granted
  &lt;/Directory&gt;
  </code></pre>
  
  <p>into</p>
  
  <pre><code>&lt;Directory /var/www/&gt;
          Options Indexes FollowSymLinks
          AllowOverride all
          #Require all granted
  &lt;/Directory&gt;
  </code></pre>
  
  <p>Now the .htaccess file is working on, but when I put the login/password and submit, I got the error:</p>
  
  <pre><code>500 Erreur interne du serveur
  </code></pre>
  
  <p>(500 internar server error)</p>
  
  <p>So what is the right way to enabled htaccess files on Debian 8 ?</p>
  
  <p>Thanks for help</p>