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.

Modify Addon Domain Creation Script

Discussion in 'General Discussion' started by g-force, Jun 27, 2009.

  1. g-force

    g-force Member

    Joined:
    Jun 24, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I would like to know how can I modify the Addon Domain Creation script to create a default .htaccess in the folder with certain rules.

    Thanks.
     
  2. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Actually, postwwwacct only works for new accounts - not addon domains.

    You can create a function hook for AddnDomain::addaddondomain API2 function by reading the instructions at /usr/local/cpanel/hooks/README or online at:

    FunctionHooks < AllDocumentation < TWiki
     
Loading...

Share This Page