[thelist] Apache configuration on OSX
James
evolt at doubtlesshouse.org.uk
Wed Aug 27 17:12:05 CDT 2003
On Tuesday, August 26, 2003, at 06:55 PM, Boris Mann wrote:
>
> It's in /private/etc/httpd ......... Also, it is owned by root, so you
> won't be able to edit except with root privileges.
>
> That being said, type this into Terminal and you'll be able to edit
> the file (yes, you can cut and paste this):
> sudo pico /etc/httpd/httpd.conf
>
> The "sudo" command tells the next action to be executed as if by the
> root user -- you'll be prompted for YOUR password, and since you are
> in the Admin group, it will execute.
>
FYI, Pico should not really be used as it can insert line feeds
automatically in your file, which can mess up some configuration stuff.
I use Vi, although I admit thats far from user friendly
More information about the thelist
mailing list