title: .htaccess 403 Forbidden
body: <p>This is my HTML file:</p>
  
  <pre><code>&lt;html lang="en"&gt;
  &lt;body&gt;
  &lt;h1&gt;This is the HTML file.&lt;/h1&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>PHP file:</p>
  
  <pre><code>&lt;?php
  echo "&lt;h1&gt;This is the PHP file.&lt;/h1&gt;";
  ?&gt;
  </code></pre>
  
  <p>.htaccess file:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^/?test.html$ test.php [L]
  </code></pre>
  
  <p>When i load test.html got error: </p>
  
  <p>Forbidden</p>
  
  <p>You don't have permission to access /modul-1-froland/rewrite_test/test.html on this server.</p>
  
  <p>instead of loading my test.php file. Any idea how can i fix it? Working in MAMP (<a href="http://localhost/modul-1-froland/rewrite_test/test.html" rel="nofollow noreferrer">http://localhost/modul-1-froland/rewrite_test/test.html</a>)</p>