Jontxu40

Well-Known Member
Dec 9, 2002
47
0
156
Hi :

I have problems with error pages.
It seems .htaccess work fine with :

[i:a6ae999fb3]errorDocument 404 http://domain.com/404.shtml[/i:a6ae999fb3]

but not with :

[i:a6ae999fb3]ErrorDocument 404 /404.shtml[/i:a6ae999fb3]

is a big problem because http.conf have the lines :

[i:a6ae999fb3]#Added by cpanel 5.3.0-RELEASE_29 install
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml[/i:a6ae999fb3]

This cause a lot of lines at error_log when the page is not found (1 line for the page required and other line for 404.shtml)

Any idea ?

Thanks in advance

------------------
jontxu
 

iain-pczap.net

Active Member
Dec 27, 2002
32
0
156
im unsure if this is true or not, but stated in cpanel is &error pages must be over 10k to be displayed in Internet Explorer(R)& or something like that.

maybe you should check if your error pages are over 10k?
 

irchs

Well-Known Member
Jun 3, 2004
76
0
156
I have the exact same issue.

In firefox, which is a superior browser btw :) If you go to say http://www.phucknut.net/foo.bar it doesn't return any data and the error log says it can not fine the 404.shtml file in /usr/local/apache/etcetc...

I have toiled for ages and I still can't find an answer. Setting it in .htaccess works perfectly, but globally on the server, no 40x error pages work :(

Any ideas anyone?!

Jan
 

webits

Well-Known Member
May 15, 2004
114
0
166
I've the same issue as you, If you've fixed it how did you fix it please do tell ..

Thanks