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.

Editing httpd.conf

Discussion in 'General Discussion' started by rumor, Jan 12, 2006.

  1. rumor

    rumor Member

    Joined:
    Aug 26, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Is it okay to just edit httpd.conf, or do I have to worry about CPanel overwriting my changes? I want to edit a subdomain entry so that the DocumentRoot is not under ~/public_html/foo.
     
  2. bhd

    bhd Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    JNB ZA
    cPanel Access Level:
    Root Administrator
    As far as I know Cpanel will only make changes to the httpd.conf file if you make the changes yourself from Cpanel/WHM afterwards; like deleting an account for example.
     
  3. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Cpanel will not make any changes automatically in httpd.conf unless you do anything from there. If you change anything in the DocumentRoot for your SubDomain it will be fine unless you make any changes from cPanel.
     
  4. gammahelixx

    gammahelixx Member

    Joined:
    Sep 1, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Will any custom changes you make be backed up by the cPanel automatic backup scripts?
     
  5. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    Yes, they will be put in a "files" directory at the backup location. Also, in the backups section of whm, you can use the rollback option as well.
     
  6. gammahelixx

    gammahelixx Member

    Joined:
    Sep 1, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Just to be clear, you mean that if you make custom changes to the httpd.conf file, then those changes will be put into a file in the files directory?
     
Loading...

Share This Page