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.

Which Script adds...

Discussion in 'General Discussion' started by SHSaeed, Jun 29, 2002.

  1. SHSaeed

    SHSaeed Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I've asked this questions before but no one answered me. When you create a new account, it's /scripts/wwwacct that adds the vritualhost directive to http.conf. But what script puts the directive for a subdomain in httpd.conf?

    I would appriciate any help. Thanks.
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    most things like this (api calls, etc) don't have an associated script, per se (in /scripts)
    ....
    Check out:
    /usr/local/cpanel/base/frontend/default/subdomain/

    To begin your investigation
    :p
     
  3. SHSaeed

    SHSaeed Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    I've already checked there, it calls to a Cpanel function..

    &cpanel SubDomain=&addsubdomain($FORM{'domain'})&&
     
Loading...

Share This Page