Here's what you need in httpd.conf....
code:--------------------------------------------------------------------------------#
Customizable error response (Apache style)
these come in three flavors
#
1) plain text
#ErrorDocument 500 "The server made a boo boo.
n.b. the single leading (") marks it as text, it does not get output
#
2) local redirects
ErrorDocument 404 /404.php
to redirect to local URL /404.php
#ErrorDocument 404 /cgi-bin/missing_handler.pl
N.B.: You can redirect to a script or a document using server-side-includes.
#
3) external redirects
#ErrorDocument 402 http://some.other-server.com/subscription_info.html
N.B.: Many of the environment variables associated with the original
request will not be available to such a script.--------------------------------------------------------------------------------
This is what I found now I can write the code to email me when the 404.php file is called. That way I can fix any broken links.