The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Skeleton files

Discussion in 'General Discussion' started by B12Org, Aug 31, 2010.

  1. B12Org

    B12Org Well-Known Member

    Joined:
    Jul 15, 2003
    Messages:
    692
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle Washington
    cPanel Access Level:
    Root Administrator
    Hello,

    In the feature manager we have disabled all email and removed it from the dynamicui through another file that is loaded last (via using file=>file,skipobj=>1)

    When we create a new domain, it still creates the mail directory for the customer - which is a little confusing when they see it in ftp or file manager UI.

    How can I remove that directory from being created?

    additionally how can I modify the skeleton files so that when a new domain is created it automatically gets a certain html page in its root?

    bumping thread.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I can't help with the first part, but the second part, maybe. :)

    The Skeleton Directory docs are a bit vague IMHO, but basically it amounts to this:

    If root user is creating the account, and in "his" /root/cpanel3-skel/public_html/ directory there was an index.html then, when root creates the account this index.html will be copied from that directory, to the new accounts directory of the same name. /username/public_html/

    If a reseller creates the account, and he has an index.html located in his reseller account directory here:
    /home/resellername/cpanel3-skel/public_html/

    then that file would be copied over in the same manner.

    Not only can you add a placeholder page (index.html or index.php) but you can and should add other items like error pages, favicon, etc. I always add a note in here as well as to what these files are so the new user can easily figure it out on their own.

    (e.g.: Read_this_message_from_Infopro.txt)

    HTH
     
  3. B12Org

    B12Org Well-Known Member

    Joined:
    Jul 15, 2003
    Messages:
    692
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle Washington
    cPanel Access Level:
    Root Administrator
    Thank you for that, I appreciate your assistance.
     
Loading...

Share This Page