PDA

View Full Version : Modify Apache Directory on Mac OS X



technicianxp
25-03-2006, 09:50 PM
I'm trying to change the main website directory hosted by Personal Web Sharing (via Apache) on Mac OS X. By default the directory is "/Library/WebServer/Documents/" or so I think. I want to change it to a software RAID volume which I've just finished creating. What I want to know is can this be done and if so how (as in what exactly do I have to use to edit the httpd.conf file)?

gibler
25-03-2006, 10:21 PM
some good info (http://www.macdevcenter.com/pub/a/mac/collections/webserving.html)

TextEdit will do the job (or from command-line pico or emacs or even vi).

Your raid volume will probably be at:

/Volumes/your-raid-volume-name

you probably want change your
Document root setting to the new raid volume path
and stick in a <Directory> .....</Directory> section