Saturday, May 18, 2013

Customize 404 Page



Create a Web page that will be your 404 document.
Open yourhttpd.conffile for editing (you'll probably have to login as root to edit it).
Find the line that reads
ErrorDocument 404 /404.html
Change the third entry to the URI you would like to display, e.g.
ErrorDocument 404 /new_404.html
Restart your Web server.

No comments:

Post a Comment