title: htaccess redirect to custom address instead of showing Forbidden error message
body: <p>I have folder with images in root directory and I need deny to access that images from URL.</p>
  <p>I have <code>.htaccess</code> in this folder</p>
  <pre><code>RewriteEngine on 
  RewriteCond %{HTTP_REFERER} !^http(s?)://(www\.)?localhost.*$ [NC] 
  RewriteRule \.(gif|jpg|jpeg|png)$ - [F]
  </code></pre>
  <p>This works perfect and if try to access image via URL, it shows error</p>
  <blockquote>
  <p>Forbidden</p>
  <p>You don't have permission to access ..</p>
  </blockquote>
  <p>But I want instead, redirect to my custom error page (which is <code>/error</code> controller in my case).</p>
  <p>What is correct <code>.htaccess</code> syntax for this?</p>