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!

EasyApache 3 and /usr/local/apache/conf/httpd.conf

Discussion in 'EasyApache' started by Legendary, Jun 22, 2016.

  1. Legendary

    Legendary Member

    Joined:
    Aug 13, 2015
    Messages:
    24
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    US
    cPanel Access Level:
    Root Administrator
    Hello,

    I modified my /usr/local/apache/conf/httpd.conf file to stop /cpanel and /webmail from working (Rename /cpanel or /WHM become /newname).

    I ran the following command
    Code:
    /usr/local/cpanel/bin/apache_conf_distiller --update
    and things are working as intended even upon regeneration of the config file. However, my changes are lost whenever I run EasyApache. Is there any way to conserve my changes?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,704
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Legendary

    Legendary Member

    Joined:
    Aug 13, 2015
    Messages:
    24
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    US
    cPanel Access Level:
    Root Administrator
    Thanks, but how do I ensure that lines deleted from httpd.conf don't reappear whenever I run EasyApache? I deleted the lines which make /cpanel, /webmail, etc. URLs work and I don't want them automatically added back to httpd.conf.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,704
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Changes to the Apache configuration that you preserve will remain after updates. Here's an additional document that explains the different methods of preserving the changes:

    Advanced Apache Configuration - EasyApache - cPanel Documentation

    Thank you.
     
    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