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 had to be restored... BUT

Discussion in 'General Discussion' started by rinty, Jul 17, 2002.

  1. rinty

    rinty Well-Known Member

    Joined:
    May 31, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    some accounts are missing from the account list. But we can access the site/account via server/~username.

    How would we go about readding the account without physically deleting the account and starting over. Any files we should/need to edit?

    Thanks,
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    httpd.conf is the ONLY thing that was restored?

    If so all you need to put back in there for the missing people is their virtual host directory.

    Whatever goes between the:

    &VirtualHost domain.com&
    and
    &/VirtualHost&

    For each site, that's all you need to put back. Are you sure you don't have a recent backup in /etc/httpd/conf ?
    (like .httpd.com.swp or .save or anything in there that's at all recent?)

    Just wondering.
     
  3. shaun

    shaun Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Clemente, Ca
    why did you have to restore the httpd.conf?

    Do what feanor said.
     
  4. rinty

    rinty Well-Known Member

    Joined:
    May 31, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    [quote:3965f65c21][i:3965f65c21]Originally posted by feanor[/i:3965f65c21]


    httpd.conf is the ONLY thing that was restored?

    If so all you need to put back in there for the missing people is their virtual host directory.

    Whatever goes between the:

    &VirtualHost domain.com&
    and
    &/VirtualHost&

    For each site, that's all you need to put back. Are you sure you don't have a recent backup in /etc/httpd/conf ?
    (like .httpd.com.swp or .save or anything in there that's at all recent?)

    Just wondering.
    [/quote:3965f65c21]

    Thanks. Got it working again. What happened was that I accidently over written the httpd.conf. Did have a backup,but a few days old.

    Thanks!
     
Loading...

Share This Page