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.

httpd.conf missing loads of cpanel stuff

Discussion in 'General Discussion' started by deanstev, Feb 18, 2006.

  1. deanstev

    deanstev Well-Known Member

    Joined:
    Jun 10, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    0
    Hi Guys,
    I somehow have managed to screw all the cpanel stuff that should be in the httpd.conf file out of it.... none of it's there - it just looks like a standard apache 1.3.34 conf file - none of the alias stuff.

    Therefore, it will not let me access /cpanel etc :(

    How can I put it back in?

    Regards,
    Dean
     
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Check the /usr/local/apache/conf directory for a recent backup of httpd.conf.

    Other option is to use /scripts/rebuildhttpdconf.

    Personally like to have a backup of httpd.conf and some other select files locally.
     
  3. fdnven

    fdnven Well-Known Member

    Joined:
    Feb 14, 2006
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    What other files would you suggest to have back up on local?
     
  4. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Everyone likely has their own list depending on how many servers they are dealing with and whether or not they are all configured in a similar fashion.

    My preference is to have local backups of files that have had customizations added to them for instance exim.conf, named.conf, php.ini and my.cnf. In other words those config files that might save me time or effort if needed in a pinch.
     
Loading...

Share This Page