nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16-01-2008, 05:19 PM
Junior Member
User
 
Join Date: Sep 2007
OS: CentOS
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #2 (permalink)  
Old 17-01-2008, 03:30 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 506
Thanks: 0
Thanked 8 Times in 6 Posts
Rep Power: 7
monk has a spectacular aura about monk has a spectacular aura about
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 17-01-2008, 03:45 PM
Junior Member
User
 
Join Date: Sep 2007
OS: CentOS
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
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


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 Off


Similar Threads

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


All times are GMT +5.5. The time now is 05:38 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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 37 38