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!

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:
    166
    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:
    16,470
    Likes Received:
    421
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,344
    Likes Received:
    58
    Trophy Points:
    178
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ebatista

    ebatista Member

    Joined:
    Jan 23, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    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,216
    Likes Received:
    10
    Trophy Points:
    313
    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

  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