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.

Help! httpd.conf is destroyed!

Discussion in 'General Discussion' started by prankstr25, Jul 29, 2005.

  1. prankstr25

    prankstr25 Member

    Joined:
    Jun 27, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I had httpd.conf open in WinSCP, and made alittle change, when I was saving back up to the server, it said "connection reset by peer" and 3/4 of my httpd.conf file did not get uploaded. So basically now I have a httpd.conf file that is only about 1/4 there! I did not take a backup, I d have weekly and daily backups running on my server..What can I do???
     
  2. web12

    web12 Well-Known Member

    Joined:
    Nov 20, 2002
    Messages:
    240
    Likes Received:
    0
    Trophy Points:
    16
    You might be able to use /scripts/rebuildhttpdconf

    Havent had to use it myself before, but presume that this is what its there for.

    Good luck.
     
  3. rusel

    rusel BANNED

    Joined:
    Aug 1, 2005
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Poland
    and do for your safely backup :) of your httpd.conf.
     
  4. BenThomas

    BenThomas Well-Known Member

    Joined:
    Feb 12, 2004
    Messages:
    598
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
    You should be able to use the configuration file rollback feature in the WHM.
     
  5. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    You should also have it in your backups. Daily or weekly, etc.
     
Loading...

Share This Page