Skip to main content

File does not exist: 404.shtml - How to make it for all accounts?

Comments

10 comments

  • cPanelMichael
    Hello :) You may find this thread helpful: Custom Error Pages Thank you.
    0
  • postcd
    Will the mentioned tutorial fix the reported 404 errors while the 404 document is just included instead being physically located in users www folder? How can user override these 404 by his own?
    0
  • Infopro
    [QUOTE]Hello, is there any good way on how to create an 404.shtml file for all newly created cpanela ccounts automatically?
    Add default files you want all accounts to start out with, to the root/cpanel3-skel/ and/or for reseller, username/cpanel3-skel/ directories to prevent error log cruft. Skeleton Directory - cPanel Documentation I like to add a plain txt file as well, explaining what the default files are and how to modify them for the new user. For example: .vB
    0
  • postcd
    yes, this i dont want to do. i dont want to add any files to the user accounts if possible. Would be more wise and better to set any global 404.shtml which anyone can override in htaccess or by creating another 404 file?
    0
  • cPanelMichael
    [quote="postcd, post: 1640892">Will the mentioned tutorial fix the reported 404 errors while the 404 document is just included instead being physically located in users www folder? How can user override these 404 by his own?
    Please ensure you read the full thread that I referenced. Both questions are answered in that thread. Thanks.
    0
  • postcd
    That topic is quite large. if you know the answer, please post it.
    0
  • cPanelMichael
    Hello :) The first post itself explains that a 404 page is not required in every account. It's only required in a single directory: Please note that reading an entire thread might seem like a tedious task, but it's really the best way to learn new information. Thank you.
    0
  • postcd
    Thanks, so i did it as you described in your post
    but mentioned code with alias dont work Thank you
    0
  • cPanelMichael
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • postcd
    Also i found this works: OPTION A) [QUOTE]ErrorDocument 404 "NO!

    There is nothing here.. go away quickly!


    OPTION B) [QUOTE]ErrorDocument 404 "404 Error! - Not found"
    0

Please sign in to leave a comment.