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.

How to handle virtualhosts creating?

Discussion in 'General Discussion' started by sline, Feb 27, 2004.

  1. sline

    sline Registered

    Joined:
    Jan 14, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Does anybody know how can I handle the default virtualhosts template CPanel (8.0.6) adds into the httpd.conf while creating the new domains?
    I need to add few lines to this template...

    Also it will be even better to know how to call my own script right after or during the new virtualhost creation.

    Any help will be very appreciated.

    Thank you!
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    After an account is created, if there exists a script at /scripts/postwwwacct, it gets called and variables are passed to it.

    You may want to see this thread and bookmark this page.
     
Loading...

Share This Page