LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2004, 07:41 PM   #1
Turner
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Rep: Reputation: 0
Fedora 1, Apache, httpd.conf file


Ok, so I edit and change my httpd.conf file using vi. Change it a WHOLE bunch of times. Now I'm looking at the top of the file, and it says that system-config-http edits this automatically, and all my changes will be lost the next time I run the program.

Can you see what my question is gonna be? :-P

How do I tell Fedora's http config program not to wipe my changes? I don't wanna lose all the changes just because I ran the damn config program one morning!


Thanks in advance,

Turner
 
Old 07-07-2004, 05:56 AM   #2
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Well, you could just not run the config program, and then it wont over-write it ;-) Heck, even if you do run it, when you open the program it should read httpd.conf and display the settings currently in use, and then it would only wite over them if you changed something and saved.

And if you're really worried about messing up your configuration, just

cp httpd.conf httpd.backup.conf

Good luck!
 
Old 07-07-2004, 12:11 PM   #3
Turner
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jeffreybluml
Well, you could just not run the config program, and then it wont over-write it ;-) Heck, even if you do run it, when you open the program it should read httpd.conf and display the settings currently in use, and then it would only wite over them if you changed something and saved.

And if you're really worried about messing up your configuration, just

cp httpd.conf httpd.backup.conf

Good luck!
Easy enough. :-)

I did the backup, but I was just worried that the config program was storing an alternate conf file somewhere, for comparison.

Thanks!


Turner
 
  


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
Restoring Apache httpd.conf file shof515 Fedora 1 11-24-2005 10:54 PM
Apache httpd.conf file?? matux Mandriva 2 01-28-2005 09:20 AM
PHP - What to add to Apache httpd.conf file? maktos Linux - Software 9 04-17-2004 08:18 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-09-2004 11:45 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:11 AM.

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