LinuxQuestions.org
Visit Jeremy's Blog.
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 08-24-2004, 08:35 AM   #1
kakagak
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
Opening and Editing httpd.conf file


Hello,
How can I open, edit and save httpd.conf file using telenet (command lind).
I am using windows ME/XP.
Please help.

Regards

Kaka Gak
 
Old 08-24-2004, 09:03 AM   #2
colabus
Member
 
Registered: Mar 2004
Distribution: Debian Sarge, FC4
Posts: 100

Rep: Reputation: 15
use editor, or get joe you should be able to use them through telnet
 
Old 08-24-2004, 09:17 AM   #3
Joubert79
Member
 
Registered: Jul 2004
Location: Manchester, UK
Distribution: Gentoo
Posts: 46

Rep: Reputation: 15
Try an editor of you choice. At the very least your system probably has vi or vim or joe. I use nano.

You'll need to find where httpd.conf resides, which seems to vary somewhat. If you don't know where it is, you could peer inside your init script if you have one, ie. "less /etc/init.d/httpd" (or "less /etc/init.d/apache2", or something, do "ls /etc/init.d/" to see what the script might be) and look around for clues to where httpd.conf is. Otherwise if you have locate, you could try "locate httpd.conf". (you might need to build the locate database first, "locate -u", and sit back for a bit.)

From your telnet command prompt do "vi /path/to/httpd.conf" with the obvious replacements of your choice of editor and /path/to.

PS. If you use vi, I can recommend having a look at an online manual for how to save, quit, cut, paste, etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
2 httpd.conf file, which one is being used? newlinuxnewbie Linux - General 2 11-27-2005 05:43 PM
Allow file upload in httpd.conf? @ngelot Linux - Newbie 2 05-13-2005 09:07 AM
Apache httpd.conf file?? matux Mandriva 2 01-28-2005 10:20 AM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM
httpd.conf File? HappyDude Linux - Software 3 08-16-2003 01:38 AM


All times are GMT -5. The time now is 09:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration