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.

prevent overwrite of httpd.conf

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

  1. par

    par Registered

    Joined:
    Aug 3, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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
    PartnerNOC

    Joined:
    Sep 28, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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!
     
Loading...

Share This Page