[thelist] php custom error handling

Andrew Forsberg andrew at thepander.co.nz
Mon May 21 16:22:45 CDT 2001

>At 01:59 PM 5/21/2001, you wrote:
>>Any thoughts on why this doesn't work?
>Make an .htaccess file (in the web root directory) and put the 
>following in it:
>ErrorDocument 404 /badurl.php

But check with your hosting company first, as they may not allow you 
to override this in your .htaccess files. If you are not allowed, and 
you try to do this, then your whole site  may become unavailable.
Andrew Forsberg

More information about the thelist mailing list