cPanel 94 and cPanel Error Pages
Hey guys,
I just did a fresh cPanel 94 installation on CloudLinuxOS+ 8 and noticed that error pages get deployed automatically in all new and transferred accounts:
[CODE=bash]400.shtml
401.shtml
403.shtml
404.shtml
413.shtml
500.shtml
cp_errordocument.shtml
I don't have them in cpanel3-skel and I haven't enabled anything special. Any idea if this is default and is there any way to stop them from being created? They are cPanel branded and if customers want to create them, they can do so via cPanel GUI but I don't think it's a good idea to have them deployed by default. Thanks, A
I don't have them in cpanel3-skel and I haven't enabled anything special. Any idea if this is default and is there any way to stop them from being created? They are cPanel branded and if customers want to create them, they can do so via cPanel GUI but I don't think it's a good idea to have them deployed by default. Thanks, A
-
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 -
@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 -
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 -
tweak_unset_vars can just be an empty area after the = 0 -
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 -
Update - we plan to include the same tweak in 94.0.11 when that is released. 0
Please sign in to leave a comment.
Comments
36 comments