Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jun 2004
    Posts
    11

    Default Help! httpd.conf is destroyed!

    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???
    prankstr25

  2. #2
    Member
    Join Date
    Nov 2002
    Posts
    242

    Default

    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. #3
    BANNED
    Join Date
    Aug 2005
    Location
    Poland
    Posts
    28

    Default

    and do for your safely backup of your httpd.conf.

  4. #4
    Staff Member cpanelben's Avatar
    Join Date
    Feb 2004
    Location
    Houston, Texas USA
    Posts
    598
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    You should be able to use the configuration file rollback feature in the WHM.

  5. #5
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    You should also have it in your backups. Daily or weekly, etc.
    Lloyd F Tennison

Similar Threads & Tags
Similar threads

  1. Faulty httpd.conf - can't rebuild with rebuildhttpd.conf
    By movielad in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-21-2011, 12:43 PM
  2. Preserve amends to /etc/httpd/conf/httpd.conf ?
    By robocrop in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-14-2010, 02:08 AM
  3. httpd.conf sites/www.domain.com.conf Wildcard DNS
    By ttremain in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-16-2008, 11:19 AM
  4. Daily httpd restart changes AllowOverride None to All in httpd.conf
    By Lasers in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 02-26-2007, 12:17 PM
  5. Named.Conf Destroyed
    By moogle in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-16-2004, 12:48 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube