View Full Version : Silly linux and apache question regarding the httpd.conf file
oracleguy
09-25-2002, 05: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?
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, 09: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!
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.