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!

How To "Commit" Changes To HTTPD.CONF

Discussion in 'General Discussion' started by sOliver, Mar 29, 2016.

  1. sOliver

    sOliver Active Member

    Joined:
    Oct 25, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    56
    So I need to change the DocumentRoot for the default server (the one that is being used to set up the server and can apparenty not be changed within WHM).

    When I go into httpd.conf it says this is created automatically. The line already changed when I created a new account so I need something more permanent.

    I issued the command /usr/local/cpanel/bin/apache_conf_distiller --update

    1) Will this do the trick UNTIL I rebuild Apache with EasyApache? Which would be fine.

    2) Is there are really permanent solution that is easy and does not involve a lot of steps?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,441
    Likes Received:
    416
    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. sOliver

    sOliver Active Member

    Joined:
    Oct 25, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    56
    Thanks, thats what I consulted first, but I missed the line
    "To test whether cPanel & WHM will overwrite your modifications, perform the following steps"

    Are there any plans to add more of the dynamic configuration lines found in httpd.conf to WHM -> Apache -> General Config
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,441
    Likes Received:
    416
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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