Forum Moderators: open
For Apache [httpd.apache.org] there is the ErrorDocument [httpd.apache.org] directive.
Andreas
If you have your own server or can admin your hosted one then if you go to Internet Services Manager,modify your websites properties and go to custom errors tab, you can then set html pages for all the different types of errors, 404, 500 etc.