nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

httpd.conf deleted! How to re-generate?

This is a discussion on httpd.conf deleted! How to re-generate? within the Getting started tutorials forums, part of the Linux Getting Started category; Hello all How to re-generate http.conf ? I checked its backup files, http.conf.bak but all are old. I have about ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 05:19 PM
Junior Member
User
 
Join Date: Sep 2007
My distro: CentOS
Posts: 12
Rep Power: 0
vivekv is on a distinguished road
Default httpd.conf deleted! How to re-generate?

Hello all

How to re-generate http.conf ?
I checked its backup files, http.conf.bak but all are old.
I have about 1000 domains on that server and the server is now down

I have all the files /home , /var/cpanel etc etc

I want to ask, how to create httpd.conf again ?

Will creating a full cpanel backup file using /scripts/pkgacc username
and then restore that backups will re generate the httpd.conf entries???

Urgent help , please reply

Thanks
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-17-2008, 03:30 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 481
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

I don't think so it is possible, try to restore file from a backup.
__________________
May the force with you!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 03:45 PM
Junior Member
User
 
Join Date: Sep 2007
My distro: CentOS
Posts: 12
Rep Power: 0
vivekv is on a distinguished road
Default

Quote:
Originally Posted by monk View Post
I don't think so it is possible, try to restore file from a backup.

I got it from cPanel.net tech


/scripts/rebuildhttpdconf


Will recreate httpd.conf
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
httpd.conf deleted! How to re-generate? Any Scripts? vivekv Shell scripting 1 07-17-2008 05:13 PM
httpd process vimalgoel Getting started tutorials 1 10-08-2007 12:40 AM
How to add MIB's in snmpd.conf file manish_2479 Networking, Firewalls and Security 0 07-10-2007 01:26 AM
root deleted lschia Linux software 1 10-18-2006 02:34 AM
logwatch httpd kavi2 Linux software 3 09-22-2005 09:28 PM


All times are GMT +5.5. The time now is 01:49 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36