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.

where can i find the virtualhost info that goes into httpd.conf

Discussion in 'General Discussion' started by rs-freddo, Mar 16, 2009.

  1. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    I have an inactive account that cannot be re-activated. Inactive seems to be a euphemism for "no virtualhost in httpd.conf". Anyway it can't be re-activated so it seems the data which is used to build virtualhosts is missing. Anyone know where i can find this data?
     
  2. Zishan

    Zishan Well-Known Member

    Joined:
    Aug 6, 2005
    Messages:
    104
    Likes Received:
    1
    Trophy Points:
    0
    You can find the data in /var/cpanel/userdata/USERNAME folder. httpd.conf is rebuilt based on the information stored in the datastore.
     
  3. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    HERO !!!!!!!!!!!!!!!!

    the username is missing from that directory. I'll just copy another account in and edit it correctly.

    Thank you - you've saved me hours of work.
     
Loading...

Share This Page