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.

seperate config files for vhost

Discussion in 'General Discussion' started by HeshamDXB, Aug 28, 2007.

  1. HeshamDXB

    HeshamDXB Registered

    Joined:
    Aug 28, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have some additional config enteries for some vhost enteries and I'm forced to re-enter these config options after each account creation/deletion. How can I avoid this manual entery?
     
  2. 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
    One way would be to add code to the following hooks: /scripts/postkillacct (executed after account termination) and /scripts/postwwwacct (executed after account creation). If those shell scripts do not exist on your cPanel 11 system, simply create them.

    Documentation available at:
    http://www.cpanel.net/support/docs/hooks.htm#postkill
     
Loading...

Share This Page