Setting up custom 404 pages on apache
Enabling htaccess on apache:
1. Open httpd.conf (in <apache_dir>/conf directory)
2. Find the <directory> for the directory you want to change it in
AllowOverride NoneAllowOverride All(or one of the other options)
There’s a good tutorial on the Apache site with much more detail.