Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I'm not certain if this will work, but if .Mac allows you to use .htaccess files you can use the line
Code:
ErrorDocument 404 /error404.html
and place the .htaccess file in the root directory of your site. This works for me, but I'm not on .Mac.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.