Web Hosting Talk







View Full Version : I Can't Get CPanel's Custom Error Documents to Work!


a1022
09-07-2001, 04:04 AM
What should I try? I went into account settings->error pages->404 and put in the html. went to the site and try testing it.. still won't work.. Could anyone help? Thanks!

Palm
09-07-2001, 05:09 PM
Add this in your .htaccess file.

ErrorDocument 404 /path/to/html/file/which/will/be/displayed

a1022
09-08-2001, 01:53 AM
Where should I put this .htaccess file?

Palm
09-08-2001, 12:01 PM
In your plublic_html folder.
Type ls -a to see hidden files.

eva2000
09-08-2001, 12:02 PM
Originally posted by a1022
Where should I put this .htaccess file? .htaccess in the root directory if you use cpanel make sure the error page html size is greater than 4 kb i think..

under a certain size it will not work... can't remember the size though :o