icon Learn how to get the most out of Surmunity - read our forum tips here! | Welcome! Please register to access all of our features.
Old November 9th, 2004, 7:45 AM   #1 (permalink)
Registered User
Seasoned Poster
 
Joined in Oct 2004
48 posts
Gave thanks: 0
Thanked 0 times
Error pages setup?

I have a couple of html error pages set up (400, 404, etc) - I tought I could place these trough cPanel/Error pages.

Clearly it doesn't work as simple as I imagined... Help?
grappafruit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 9th, 2004, 7:52 AM   #2 (permalink)
Surpass Fan
Comfy Contributor
 
Joined in Nov 2004
164 posts
Gave thanks: 0
Thanked 0 times
You put the source of each page into the cPanel option for error pages?
__________________
Voltage
Voltage is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 9th, 2004, 7:55 AM   #3 (permalink)
Registered User
Seasoned Poster
 
Joined in Oct 2004
48 posts
Gave thanks: 0
Thanked 0 times
Tried that - doesn't seem to work.

Even if I put the example (a bit personalised) from the cPanel-guide in the "error-modification-page", it doesn't show any difference than the standard
grappafruit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 9th, 2004, 7:57 AM   #4 (permalink)
Surpass Fan
Comfy Contributor
 
Joined in Nov 2004
164 posts
Gave thanks: 0
Thanked 0 times
I've never had problems in the past, you could always use htacess to set the page of your 404 error.

Try something like this in the .htaccess of your site.

ErrorDocument 404 http://www.example.com/404page.html
__________________
Voltage
Voltage is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 9th, 2004, 8:07 AM   #5 (permalink)
Registered User
Seasoned Poster
 
Joined in Oct 2004
48 posts
Gave thanks: 0
Thanked 0 times
Got it - problem solved. Strangely, it works since i've put the document size to 10k+ (lots of filltext).
grappafruit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 10th, 2004, 1:11 AM   #6 (permalink)
Yabadabadoo
Super #1
 
Geoff's Avatar
 
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,011 posts
Gave thanks: 7
Thanked 28 times
Quote:
Originally Posted by grappafruit
Got it - problem solved. Strangely, it works since i've put the document size to 10k+ (lots of filltext).
You're using Internet Explorer I assume? I vaguely remember reading a while back somewhere that IE requires a minimum error page size before it will display it? I dont think its a common browser problem, just IE. This goes for all error pages.
Geoff is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 10th, 2004, 1:35 AM   #7 (permalink)
H
after g, before i
Super #1
 
H's Avatar
 
Joined in Jul 2004
Hosted on Gojira
7,870 posts
Gave thanks: 44
Thanked 127 times
Quote:
Originally Posted by Geoff
You're using Internet Explorer I assume? I vaguely remember reading a while back somewhere that IE requires a minimum error page size before it will display it? I dont think its a common browser problem, just IE. This goes for all error pages.
I don't that's the case. I have a 404 error that's 13 characters and it works fine with IE.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 10th, 2004, 1:45 AM   #8 (permalink)
Yabadabadoo
Super #1
 
Geoff's Avatar
 
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,011 posts
Gave thanks: 7
Thanked 28 times
Quote:
Originally Posted by Haugland
I don't that's the case. I have a 404 error that's 13 characters and it works fine with IE.
Well I wasnt entirely incorrect, I just Google'd it and IE5 (not sure about earlier versions or IE6) does have a minimum size... At the bottom of http://websiteowner.info/tutorials/s...stomerrors.asp is the mention, and lists the different file sizes required for each error page.
Geoff is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 10th, 2004, 5:42 AM   #9 (permalink)
Registered User
Seasoned Poster
 
Joined in Oct 2004
48 posts
Gave thanks: 0
Thanked 0 times
I did the test and it's simple, as explained in "cPanelAccount"/docs/cpanel/index.html
Quote:
Note: Custom error pages that are smaller than 10k in size will not display properly in Internet Explorer. Insert a large amount of text into a comment to create the required size
This info helped me out.
grappafruit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On