Question
How do you create a standard set of files for all new accounts?
Answer
For accounts owned by root, create the files in the /root/cpanel3-skel directory. For example, for an .htaccess file that is copied into all accounts upon creation, place the .htaccess file in /root/cpanel3-skel/public_html/.htaccess. When the account is created, that .htaccess file will be present in its public_html directory.
You can read more about skeleton directories in our documentation here:
Comments
0 comments
Article is closed for comments.