matrix4495

Member
Mar 27, 2012
7
0
51
cPanel Access Level
Root Administrator
i noticed users don't have error handler pages in their account domains or add-on domain

all the error handler pages are missing 400.shtml 401.shtml 403.shtml 404.shtml 500.shtml

i need to add them in such a way that all the new accounts get them automatically copied in their accounts and add-on domains and all the current users get a copy of them copied into their accounts and add-on domains.
 

Infopro

Well-Known Member
May 20, 2003
17,112
513
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Skeleton Directory - cPanel Documentation should be helpful to you. This documentation does not mention Resellers for some reason but the concept is the same. If root owns the accounts you're creating those docs will work for you. If you've created a Reseller to create your accounts, the cpanel3-skel directory is in the Resellers account instead of root.

But this does not work for addon domains or subdomains. There is a Feature Request for this functionality posted here for that:

[Case 48382] skeleton directory for addon and sub domains - cPanel Forums