made a template fragment as follows
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.confvi or pico S85ErrorPages and add the following
# Add custom error pages here
ErrorDocument 404 /notfound.htmlExit from vi
Commit changes
expand-template /etc/httpd/conf/httpd.conf
/etc/init.d/httpd restartwith your favourite html edit, create a nice looking page at save in Primary/html ibay as notfound.html then open your browser and type in a bad URL (making sure the domain IS valid) eg
http://myserver/dunno and your page should be displayed.
If you have virtual domains, you can create a custom errorpage and save in the html folder of the appropriate domain primary ibay.
Don't forget your other common error document pages such as
400 Bad Request
401 Unauthorized
403 Forbidden
These can be accommodated by appropriate lines in the template fragment ot point to your new wizbang pages.
A full list can be found at
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html