In order to be able to save a file in the /etc directory, you have to be root. In order to run the command as root, you can use the sudo command. Try doing something like sudo open /etc/apache2/httpd.conf. You should be asked for a password. Type the administrator password and press enter. Then the file should open and you will be able to save the file when you're done.
Ryan

On Jul 10, 2008, at 8:17 AM, Babcock, Michael Alex wrote:

ok here's the fix i got for now, i copyed a file to my home/desktop directory, attempted to open it and when osx said there wasn't a program to open it i chose text edit, then when i opened
/etc/apache2/httpd.conf
in terminal it worked. But when i tryed to save the file it didn't work, said i needed to give it permitions. I dont know how to do that, i tryed to chmod it but that didn't work for some reason. I'll try again though
thanks
mike

On Jul 10, 2008, at 4:13 AM, Babcock, Michael Alex wrote:

hey all;
i have found the
/etc/apache2/httpd.conf
file in terminal. I want to open .conf files in textedit but do not know how to associate that with textedit in terminal. Can this be done? or how do i find the actioal /etc/apache2 directory in finder? I'm curious for i need to un comment the line in order to allow apache to use php:
LoadModule php5_module        libexec/apache2/libphp5.so

thanks
mikeA wise man once said, "death is but the next great adventure to the well organized mind"
Currently in itunes 's  off of the disk,  is Not Loaded.        
E-mail: mbabcock06 at wou dot edu
personal blog: http://gwfans.net
aim: ginnyslove2007
Msn: [EMAIL PROTECTED]
Yahoo: blindy_2004


A wise man once said, "death is but the next great adventure to the well organized mind"
Currently in itunes 's  off of the disk,  is Not Loaded.        
E-mail: mbabcock06 at wou dot edu
personal blog: http://gwfans.net
aim: ginnyslove2007
Msn: [EMAIL PROTECTED]
Yahoo: blindy_2004




Reply via email to