Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > httpd.conf Permission Problem

httpd.conf Permission Problem
Thread Tools
pumpkinapo
Junior Member
Join Date: Aug 2000
Location: Califon, NJ
Status: Offline
Reply With Quote
Jul 24, 2002, 04:48 PM
 
I have a clean install of 10.1.5 on my cube and would like to configure php for apache. However it seems that I do not have rights to edit the httpd.conf file. Can anyone help me to fix the permissions on this file? Thanks.
Peter Leing
17" 1.67GHz PowerBook
450MHz G4 Cube
     
malson
Senior User
Join Date: Feb 2001
Location: Chattanooga, TN
Status: Offline
Reply With Quote
Jul 24, 2002, 05:25 PM
 
The httpd.conf file is owned by root. Therefore, in order to edit it, you'll need to do something like this:

Fire up the terminal and cd to where the httpd.conf file is (i.e. /etc/httpd/)

Now, to edit the file type "sudo pico httpd.conf" and enter your password. You can use vi or emacs or whatever you want if you don't like pico.

Edit the file and save your changes. Congrats! You have successfully edited the httpd.conf file.
Yeah, about those TPS reports, didn't you get the memo?
--------------
2.3 Ghz Dual-Core G5/20" LCD/Life is Good!
Moo...
     
   
 
Forum Links
Forum 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 On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 01:28 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,