Urgent Help. Can we restore the SWAP HTTPD.conf file?

Discussion in 'Site & Server Administration' started by cheetuh, Aug 23, 2008.

  1. #1
    Hi guys. I made an huge mistake.
    I was installing a script to force advertisement on my server, and somehow the http.conf file now is corrupt.
    I login via SHH and it gives an error saying there is a SWAP file of the httpd.conf.

    Should i restore it? how can i do it? thanks alot.
     
    cheetuh, Aug 23, 2008 IP
  2. mivent

    mivent Peon

    Messages:
    37
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The swap file just means that you were editing the file and never finished for some reason. You can restore from that screen, or you can restore from a backup however you back up your server.

    The swap file is not hurting the operation of apache tho - so you could just delete the swap file if you want but it may be the backup that you need.
     
    mivent, Aug 23, 2008 IP