Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Error documents problem

Discussion in 'General Discussion' started by rhm.geerts, Apr 18, 2018.

  1. rhm.geerts

    rhm.geerts Well-Known Member

    Joined:
    Jul 29, 2008
    Messages:
    93
    Likes Received:
    6
    Trophy Points:
    58
    Location:
    Maastricht
    cPanel Access Level:
    Root Administrator
    I've seen some threads about sortlike issues, but I'm confused because I didn't see a solution.

    On a newly installed Cpanel server with Centos 7.4 and cpanel 68.0.37 the default error documents will not show.

    When I visit an empty page I get only text:
    When I visit a non existing page, I get the same, but then with 404.

    This happens on *every* account, so it's not that some error document line is in a .htaccess file. Especially if the public_html is empty. :)

    So how come the default error pages are not shown like on my old server. Did I forget to enable something or what is causing this?
     
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rhm.geerts

    rhm.geerts Well-Known Member

    Joined:
    Jul 29, 2008
    Messages:
    93
    Likes Received:
    6
    Trophy Points:
    58
    Location:
    Maastricht
    cPanel Access Level:
    Root Administrator
    Just discovered the same issue occurs on the old server. Only the suspended page is working, so I thought error pages were working.
    But errorpages are not working on the old server either and we do not have custom error pages.
    It's the same as on the new server, only the text I quoted, no nice page.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @rhm.geerts

    could you open a ticket for this so we can take a closer look?

    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rhm.geerts

    rhm.geerts Well-Known Member

    Joined:
    Jul 29, 2008
    Messages:
    93
    Likes Received:
    6
    Trophy Points:
    58
    Location:
    Maastricht
    cPanel Access Level:
    Root Administrator
    Yes I will do that, thank you.
     
  6. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Thank you, once you do please add the ticket ID number and we'll update here the outcome of the ticket.

    Also, I just found this thread which might be useful as well

    SOLVED - default error documents.

    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. rhm.geerts

    rhm.geerts Well-Known Member

    Joined:
    Jul 29, 2008
    Messages:
    93
    Likes Received:
    6
    Trophy Points:
    58
    Location:
    Maastricht
    cPanel Access Level:
    Root Administrator
    I've read that thread but it's confusing to me maybe because I'm not native English. Should be working by default and that looked more like a solution to custom error pages.

    Ticket id is: 9454561
    Thank you.
     
  8. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Understood! I'm watching that ticket and I will post the outcome here when it's completed


    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. rhm.geerts

    rhm.geerts Well-Known Member

    Joined:
    Jul 29, 2008
    Messages:
    93
    Likes Received:
    6
    Trophy Points:
    58
    Location:
    Maastricht
    cPanel Access Level:
    Root Administrator
    Joshua has investigated the ticket and now I understand that this is no issue but default behaviour. I'm more used to work with DA where every user has error documents by default, so this added to my confusion. I thought cPanel did it some other way.

    The nice error pages are only shown on the server ip, there is no default for new accounts.

    So to get these for new accounts, we can copy all error pages and the cp_errordocument.conf to the skeleton directory and after that they will be put into the public_html of new users, and then they will work like I though.
    That is one solution.

    And that's a solution we can work with.
    I only have to copy them to the existing accounts now and then chown them to the correct username.
     
  10. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @rhm.geerts

    Thank you for providing us with the outcome here, I'm glad to see that we were able to help you get a workable solution!!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice