title: .htaccess to redirect to 404 (Not Found) message on unauthorized folder access
body: <p>I want to display a 404 (Not found) message, when the user tries to access unauthorized directory. I do not want to use Forbidden pages. I have tried with below code, but it does not work. </p>
  
  <pre><code>RedirectMatch 404 ^/htaccess/.*$
  </code></pre>
  
  <p>Any idea on what might be going wrong?</p>