Web Hosting Talk







View Full Version : Emergency! Help needed ASAP. Rebuilding httpd.conf. I'm using cpanel.


Domenico
08-05-2001, 05:26 AM
Hello,

My HD had errors and so everything had to be copied on to a new drive.
Everything is ok now except the following;
/etc/proftpd
/etc/valiases
/etc/httpd/conf/httpd.conf

I'm using cpanel and none of the user sites are accessable. I have to rebuild the httpd.conf offcourse.
All the userinfo is intact so what is the best I can do know? I haven't done this before so I hope there is a easy way to do this.
When I do a LIST ACCOUNTS in cpanel it shows me zero accounts but when I try too recreate one (it allready existst!) it tells me that it allready exists wich I knew allready offcourse.
How can I rebuild the httpd.conf and get all the accounts back in cpanel? The dns entries for the domains still exists btw

THANK YOU!!!!!!!!!!!!!
Domenico

btw. I'm just a day from my second vacation :-(

Domenico
08-05-2001, 01:47 PM
Please?

Tim Greer
08-11-2001, 03:27 AM
Well, assuming you have access (or had access) to the old drive, you might check in Apache's conf directory for the last back up of the httpd.conf. Each time you update it, it should back up the last one you had to httpd.conf- I believe. That should at least provide you with a back up of the httpd.conf file, other than the very last change you were able to make in the new one -- which should be easy enough to re-add manually.