LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-11-2003, 05:48 PM   #1
tris
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
apache config files deleted!!! HELP!


OK I'm an idiot... and very new to linux.

I'm running mandrake 9.1 trying to get a webserver going using apache (version that came with mandrake 9.1)

I screwed up some apache config files ie /etc/httpd/conf/ so I removed the apache package (using the mandrake control centre) thinking that maybe the configuration files would disapear too.

Nope they stayed. So... what did I do you ask, I deleted the files thinking that they would be recreated when I reinstalled apache, which they were not.

Since then I've been making backups of stuff before I remove anything.

I don't know too many linux commands and haven't been able to find any info that helps me to recreate those deleted files.

Can I remove just httpd and put it back on and will that recreate the files? If not how can I get the files back/get new config files?

Any help would be appreciated, thanks.
 
Old 10-11-2003, 05:56 PM   #2
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
which files did you delete?
what command did you use?
 
Old 10-11-2003, 06:09 PM   #3
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
PS ~ you can tell if you did it in commandline by pressing the up arrow key - this will scroll through thel ist of commands you have used recently.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache config files and php waynejkruse10 Linux - Software 8 12-05-2006 09:40 PM
Apache 2 Config Files waynejkruse10 Linux - Software 5 05-24-2005 02:20 PM
Apache config files in Debian King4lex Linux - Newbie 1 09-02-2004 03:04 PM
Apache config files bcom Linux - Newbie 2 05-21-2004 10:53 AM
Apache Config Files mikeyt_333 Linux - General 1 01-18-2002 03:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration