Web Hosting Talk







View Full Version : Error documents for entire server


azizny
08-17-2006, 03:31 PM
How can I make a page:

http://www.site.com/error404.php

a custom 404 page for the entire server, not just htaccess for one site.

Peace,

EDIT: Answer is to edit httpd.conf with the Errordocument setting i need.

maiahost
08-17-2006, 04:10 PM
well I am not sure if you solved the problem but :
http://httpd.apache.org/docs/2.0/mod/core.html
has some info on how to do that

nsvr
08-18-2006, 06:18 AM
add the errodocument line:

ErrorDocument 404 /path/to/the/file/error404.php