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.

cPanel Account Creation Templates, httpd.conf

Discussion in 'General Discussion' started by blong4life, Aug 30, 2008.

  1. blong4life

    blong4life Registered

    Joined:
    Nov 30, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I am having a problem with the cPanel Account Creation Templates for the httpd.conf

    I added something to '/var/cpanel/templates/apache2/vhost.default' just above the </VirtualHost> clause and it's not being added into account when they get created.

    Does the create account script use another template, or is it just being stupid?

    Thanks,
    Brandon
     
  2. blong4life

    blong4life Registered

    Joined:
    Nov 30, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Does anybody have any information on this?
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Account creation uses the templates in /usr/local/cpanel/etc/httptemplates
     
  4. fedlerner

    fedlerner Active Member

    Joined:
    Oct 31, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Argentina
    I'm going to add some information in case someone is having any issues related to this.
    /usr/local/cpanel/etc/httptemplates -> Used for account creation.
    /var/cpanel/templates -> Used when rebuilding httpd.conf

    So you may want to add it to both (if you ever rebuild Apache config file) ^^
     
Loading...

Share This Page