christiank

Member
May 3, 2004
12
0
151
Is there a way to recreate the httpd.conf? Ours somehow got corrupted on its own and the backup is outdated.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
I'd hazard a guess that this is what you want ;)

/scripts/rebuildhttpdconf

Also, if you do cPanel Backups, a copy is in:

/backup/cpbackup/daily/files/_etc_httpd_conf_httpd.conf.gz
 

christiank

Member
May 3, 2004
12
0
151
Yeah, I had tried that but it seems to display the accounts as if it was doing something but when I check the httpd.conf it doesn't do a thing. We have it mostly all fixed but we're still having some problems that need to be sorted out. Thanks though.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
Just tried it myself on a test server and you're right, it doesn't appear to work :rolleyes:

Rebuilding httpd.conf by hand is a pain and time consuming.
 

christiank

Member
May 3, 2004
12
0
151
chirpy said:
Just tried it myself on a test server and you're right, it doesn't appear to work :rolleyes:

Rebuilding httpd.conf by hand is a pain and time consuming.
Yeah, I'm stuck. I have it rebuilt for the most part but I still have some domains showing the default cpanel configuration error page. Anyone have an idea how I can recreate the config correctly? :S

Thanks in advance.
 

christiank

Member
May 3, 2004
12
0
151
Okay, I reactivated inactive domains, some that were giving me the configuration error but still some are coming up "blue screened" :S

Any other ideas of how to remedy this?

EDIT: I see all of the subdomains, addon domains, parked domains and domains. I'm wondering if there is a way to reserve assemble the config from this?
 
Last edited: