Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    316
    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:
    316
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SHSaeed

    SHSaeed Well-Known Member

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

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice