Well-Known Member
Dec 27, 2001
Long Beach, NY
cPanel Access Level
Root Administrator
There is a script floating around out there for adding a 404.shtml page to every site where they are not present so that log files are not getting jammed up with these.

Here is one such place to find this script -

add a 404 page to each website on a cpanel server


Since I would have to set this up to run regularly on servers and/or run automatically for new accounts, is it a perfectly acceptable option to simply modify the error handling in the httpd.conf file (more specifically, /usr/local/apache/conf/includes/errordocument.conf) ??

This way, I am thinking that everything could be sent to a central 404 page for the server.

Any thoughts on this?