title: Apache: return 404 errors instead of 500 errors
body: <p>In apache I'd like to return 404 errors whenever I get a 500 error. </p>
  
  <p>Its a very strange use case, I know, but I'm wondering if its possible.</p>
  
  <p>I found this</p>
  
  <p><a href="http://www.4webhelp.net/tutorials/misc/errors.php" rel="nofollow noreferrer">http://www.4webhelp.net/tutorials/misc/errors.php</a></p>
  
  <p>Which leads me to believe you can change what happens on the different errors.  Something like this would be great</p>
  
  <p>ErrorDocument 404 /cgi-bin/error404.cgi</p>
  
  <p>ErrorDocument 500 /cgi-bin/error404.cgi</p>
  
  <p>As suggested by the article, but I don't seem to have error404.cgi on my Ubuntu installation.  Any idea where I can get it, or an alternative solution?</p>