title: .htaccess does not redirects to custom 404 page
body: <p>I'm currently working on my own website which runs on an local Apache Server.<br>
  I have a <i>.htaccess</i> file which is supposed to redirect 404 errors to a custom page.<br>
  Here it is:</p>
  
  <pre><code>ErrorDocument 404 /404.php
  </code></pre>
  
  <p>But all I get is the following error instead of my custom 404 page:</p>
  
  <pre><code>Not Found
  
  The requested URL /my-site/gqehgr was not found on this server.
  
  Additionally, a 404 Not Found error was encountered while trying to 
  use an ErrorDocument to handle the request.
  
  Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80
  </code></pre>
  
  <p>I saw on several forums that I could use the RewriteEngine but I don't understand how it works.<br>
  Does anybody have a clue?</p>
  
  <p><b>EDIT:</b><br>
  The line should be:  </p>
  
  <pre><code>ErrorDocument 404 /my-site/404.php
  </code></pre>