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!

prevent overwrite of httpd.conf

Discussion in 'General Discussion' started by par, Aug 3, 2009.

  1. par

    par Registered

    Aug 3, 2009
    Likes Received:
    Trophy Points:
    Hello, sorry if this is a total newbie question. I have done a bit of searching around (including on this board) and can't quite figure this out. i have a VPS which has cpanel/whm loaded on it. I don't really use cpanel at all and I use whm for just a couple of dns related things. I manage the apache instance myself as well as the httpd.conf. Occasionally cpanel (or what appears to be cpanel) overwrites my httpd.conf, or appends things to the end of it. One of the things it appends is a vhost which ends up breaking all my other vhosts. I'd like this to stop, any ideas on where i can start? I'd rather not shut it all down entirely, and I am interested in learning more about it, but I just dont think i want it managing my httpd.conf. thank you.
  2. Dannyblaze

    Dannyblaze Member

    Sep 28, 2004
    Likes Received:
    Trophy Points:
    Gatineau, Quebec, Canada
    Hi par,

    Since cPanel is already installed on the server, you might as well use it to manage apache or you will always run into problems like the one you are experiencing now.

    There are ways of adding directives that will not get overwritten after updates, etc...

    CustomDirectives < EasyApache3 < TWiki

    Good luck!
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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