Skip to main content

cPanel 94 and cPanel Error Pages

Comments

36 comments

  • garbintecnologia
    Hello, what would be the path and option to disable the creation of these pages? Another question, is it possible when creating a new account an index page/file would be created as a welcome screen? If so, how can I do it? I am currently using WHM v96.0.8 Thank's
    0
  • cPRex Jurassic Moderator
    @garbintecnologia - the options in Tweak Settings are stored in /var/cpanel/cpanel.config and the value specific to this is copy_default_error_documents. You'd want to change that value to 0 to disable the creation of those pages, although that is the default value. The option may also be listed in the tweak_unset_vars line so make sure it is not present there if you edit the file manually. You could use the skeleton directory system if you wanted to add a specific file to each domain when the account is initially created. Details on that work can be found here: Skeleton Directory | cPanel & WHM Documentation
    0
  • garbintecnologia
    I checked here and it appears as: copy_default_error_documents=0 and tweak_unset_vars=copy_default_error_documents Should the tweak_unset_vars be equal to 0? Because until then I did not change this configuration my WHM updated from 94 to 96 in the last week.
    0
  • cPRex Jurassic Moderator
    tweak_unset_vars can just be an empty area after the =
    0
  • quietFinn
    Hi, Which is the option's name in "Tweak Settings" for can disable error document creation?. I not found him. I have WHM/cPanel 94.0.10 Thank you.

    That options is not in v.94, in v.96 it's in Tweak Settings -> System, " Copy default error documents to docroot for new accounts, addon domains, and subdomains "
    0
  • cPRex Jurassic Moderator
    Update - we plan to include the same tweak in 94.0.11 when that is released.
    0

Please sign in to leave a comment.