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.

Add command lines for all virtualhosts in httpd.conf

Discussion in 'General Discussion' started by mehrdad abed, Jul 6, 2009.

  1. mehrdad abed

    mehrdad abed Well-Known Member

    Joined:
    Mar 18, 2006
    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I installed cband module for apache2 and now want to add some commands for all virtualhosts in httpd.conf, I added some lines in /usr/local/cpanel/etc/httptemplates/apache/apache2_2/default and ran /scripts/rebuildhttpdconf to rebuild the httpd.conf but the changes were not applied,

    I suppose /etc/httptemplates/apache/apache2_2/default is used when a new account is created and rebuildhttpdconf doesnt use it to create new httpd.conf

    does anybody have an idea how to do that ?

    Thanks,
     
Loading...

Share This Page