Web Hosting Talk







View Full Version : Cpanel 404 pages


mpope
07-24-2001, 11:37 AM
I can't seem to get my 404 pages working in cpanel. I have added a 404.shtml page to my public_html directory, but it does not get displayed when there is a 404 error! I've checked the error log, and it is finding the 404.shtml page, just not displaying it!

Also, I have added ErrorDocument 404 /404.shtml to my .htaccess file, and it does not work either.

This problem is affecting every domain on the server, so I think that there must be a problem in httpd.conf

If someone could help me out here, it would be great!

Thanks!

mpope
07-24-2001, 07:24 PM
It looks like cpanel doesn't like the following:

ErrorDocuments 404 /404.shtml

So, I did the following to make it work:

ErrorDocuments 404 http://my-domain/404.shtml


Don't ask me why, but it works! I just thought I would post this for anyone that might be having the same problem.

AlaskanWolf
07-26-2001, 03:15 AM
where are the .html files for the server wide?