In apache I'd like to return 404 errors whenever I get a 500 error.
Its a very strange use case, I know, but I'm wondering if its possible.
I found this
http://www.4webhelp.net/tutorials/misc/errors.php
Which leads me to believe you can change what happens on the different errors. Something like this would be great
ErrorDocument 404 /cgi-bin/error404.cgi
ErrorDocument 500 /cgi-bin/error404.cgi
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?