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 04-29-2004, 06:34 PM   #1
bumfan
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Rep: Reputation: 0
httpd.conf


How do you edit /etc/httpd/conf/httpd.conf (httpd.conf) is what im trying to edit I noticed you can't just load a text editor and save it kuz it says you dont have permisson....So what is the command to edit it form root in terminal....
 
Old 04-29-2004, 06:39 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
First you have to be root.

su
<your root password here>

emacs /etc/httpd/conf/httpd.conf

You should be ok to edit it at your will and save changes later.

If this fails, check permissions of the httpd.conf file with ls -la

after you have changed that file, you must restart apache for changes to take effect

/sbin/service httpd restart
 
  


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 help eckertc1 Linux - General 2 03-01-2005 02:47 AM
Httpd.conf And Httpd2.conf ???? alejandroye Linux - General 2 11-07-2004 01:23 AM
httpd.conf & ssl.conf kevinm2 Linux - Security 12 08-31-2004 02:25 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM


All times are GMT -5. The time now is 04:49 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