...

View Full Version : Silly linux and apache question regarding the httpd.conf file



oracleguy
09-25-2002, 04:42 PM
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?

jkd
09-25-2002, 04:56 PM
Assuming you are in the right directory:

vi ./httpd.conf

Hit "I"

make your changes

Hit "Esc"

Type ":wq"

Hit enter

fivesidecube
09-25-2002, 08:44 PM
oracleguy,
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!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum