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.

apache_conf_disteller question

Discussion in 'EasyApache' started by dropby23, Oct 15, 2007.

  1. dropby23

    dropby23 Well-Known Member

    Joined:
    Jan 16, 2005
    Messages:
    155
    Likes Received:
    0
    Trophy Points:
    16
    hello i want to ask if i made a modification in virtualhost how can i save them and if i want to remove the virtual hosts manulally how can i save them to the template file
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,279
    Likes Received:
    36
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    If you've already built apache once using EA3, I think your /etc/httpd/conf/httpd.conf file will have the following at the top:

    # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    # Direct modifications to the Apache configuration file may be lost upon subsequent regeneration of the #
    # configuration file. To have modifications retained, all modifications must be checked into the #
    # configuration system by running: #
    # /usr/local/cpanel/bin/apache_conf_distiller --update #
    # To see if your changes will be conserved, regenerate the Apache configuration file by running: #
    # /usr/local/cpanel/bin/build_apache_conf #
    # and check the configuration file for your alterations. If your changes have been ignored, then they will #
    # need to be added directly to their respective template files. #

    # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #


    So I would guess: /usr/local/cpanel/bin/apache_conf_distiller --update

    I agree with InfoPro that the PDF he posted a link to should be prominently displayed somewhere on these forums. Also, that PDF does list a few extra options on the commandline, so read it carefully before doing anything.

    Mike
     
  4. ebatista

    ebatista Member

    Joined:
    Jan 23, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    And if i don't use EA3? I use cPanel Stable release

    What should i do?

    All the customizations that i made in http.conf simple disappear.
     
    #4 ebatista, Oct 16, 2007
    Last edited: Oct 16, 2007
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    That is correct, and we had many customer complaints about that hence in EA3 the system is more accommodating to server customizations. Details on when EA3 will propagate to STABLE can be found on:

    http://www.cPanel.net/cpanel11
     
Loading...

Share This Page