title: .htaccess redirect 403 error files to 404 error document
body: <p>I have a folder named <code>control</code> which is contained in the root project folder named <code>project</code>, so the path on localhost forms like this for the <code>control</code> folder: <code>http://localhost/project/control</code> </p>
  
  <p>In the <code>control</code> folder I put a <code>.htaccess</code> file that has the content:</p>
  
  <pre><code>RewriteEngine On
  deny from all
  </code></pre>
  
  <p>At the project root folder i.e <code>project</code> folder i have another <code>.htaccess</code> file that contains the main code, including this 404 error redirection code:</p>
  
  <pre><code>RewriteCond %{REQUEST_FILENAME} !-f  
  RewriteCond %{REQUEST_FILENAME} !-d  
  RewriteRule ^  errordocs/404.php [L]
  </code></pre>
  
  <p>Now what I want to do is that whenever <code>403</code> error is encountered when opening the <code>control</code> folder it should rewrite it to the same <code>errordocs/404.php</code> page. </p>