Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-25-2002, 04:42 PM   PM User | #1
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,042
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
Silly linux and apache question regarding the httpd.conf file

Okay a open up the httpd.conf file from the command line. It opens up in the shell window. My question is, how do I save and exit the thing? Like is it a certain keyboard combination?
oracleguy is offline   Reply With Quote
Old 09-25-2002, 04:56 PM   PM User | #2
jkd
Senior Coder

 
jkd's Avatar
 
Join Date: May 2002
Location: metro DC
Posts: 3,163
Thanks: 1
Thanked 18 Times in 18 Posts
jkd will become famous soon enough
Assuming you are in the right directory:

vi ./httpd.conf

Hit "I"

make your changes

Hit "Esc"

Type ":wq"

Hit enter
__________________
jasonkarldavis.com
jkd is offline   Reply With Quote
Old 09-25-2002, 08:44 PM   PM User | #3
fivesidecube
New Coder

 
Join Date: Sep 2002
Location: Up North (UK)
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
fivesidecube is an unknown quantity at this point
oracleguy,
Quote:
vi ./httpd.conf
If you are first time user to vi, I suggest that you make a copy of the file first and know that ':q!' instead of ':wq' quits without saving!

It's not the most friendly of editors!
fivesidecube is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 Off

Forum Jump


All times are GMT +1. The time now is 12:44 AM.


Advertisement
Log in to turn off these ads.