LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-20-2005, 06:55 AM   #1
lbeetles
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
Edit httpd.conf


How do i edit the httpd.conf file and what software do i have to use in order to do this???

I have the Matrix control panel, can it be done through this?

Last edited by lbeetles; 12-20-2005 at 06:59 AM.
 
Old 12-20-2005, 07:13 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Never heard of the Matrix control panel, but you can use any text editor that you have on your machine. vi, Emacs, pico, nano, joe, gedit, etc will be fine. Open up a terminal window and "become" root using the su command and entering your password, then enter the name of the editor you want to use followed by the path to the file, e.g.

$ su
<password>
# emacs /path/to/httpd.conf

If you're using Ubuntu or something that uses sudo, then I believe you'd just need to use

$ sudo emacs /path/to/httpd.conf
 
  


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
Httpd.conf And Httpd2.conf ???? alejandroye Linux - General 2 11-07-2004 12:23 AM
httpd.conf & ssl.conf kevinm2 Linux - Security 12 08-31-2004 01:25 PM
Can not edit httpd.conf xtra Linux - Newbie 6 08-12-2004 02:40 AM
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 08:20 PM.

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