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.

BUG in httpd.conf generation on account creation - R17853

Discussion in 'General Discussion' started by maysoft, Nov 12, 2007.

  1. maysoft

    maysoft Well-Known Member

    Joined:
    Nov 10, 2005
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    At the end of the httpd.conf there is an include:
    Include "/usr/local/apache/conf/includes/post_virtualhost_2.conf"

    Now, if we create an account, its VirtualHost will be added AFTER that line.
    To move that line to the end I have to run /scripts/rebuildhttpdconf after every account creation.

    I have some wildcard domains set up in post_virtualhost_2.conf, so it is crucial that it is parsed after all VHOSTS.
     
  2. maysoft

    maysoft Well-Known Member

    Joined:
    Nov 10, 2005
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Another issue: when creating an account, /var/cpanel/templates/apache2/vhost.local template is ignored (it seems that default template is used instead).
     
Loading...

Share This Page