uoba Re: member May 19, 2002 #1 Can I change the default WebServer folder (/Library/Webserver/) to another partition? I say this because it will become more managable to take it off the OSX system hard drive, and place it on another partition/drive.
Can I change the default WebServer folder (/Library/Webserver/) to another partition? I say this because it will become more managable to take it off the OSX system hard drive, and place it on another partition/drive.
K kegger64 Registered May 19, 2002 #2 Yup, Edit /etc/httpd/httpd.conf and change the line: DocumentRoot "/Library/WebServer/Documents" to whatever directory or partition you like. Once your done, you need to restart Apache with: sudo apachectl restart
Yup, Edit /etc/httpd/httpd.conf and change the line: DocumentRoot "/Library/WebServer/Documents" to whatever directory or partition you like. Once your done, you need to restart Apache with: sudo apachectl restart
uoba Re: member May 19, 2002 #4 editing httpd.conf in pico, but when I try to save it cannot write. I guess I have to chmod the file, but couldn't fo this either. Any ideas? **UPDATE** --> Did it. Managed to remember how to login as root. Thanks
editing httpd.conf in pico, but when I try to save it cannot write. I guess I have to chmod the file, but couldn't fo this either. Any ideas? **UPDATE** --> Did it. Managed to remember how to login as root. Thanks
Gwailo B.A. Economics (Hon) May 19, 2002 #5 You need to ``sudo pico httpd.conf`` in case you logged in as root at the terminal and went through all that unecessary rigamaroll with Netinfo Manager...
You need to ``sudo pico httpd.conf`` in case you logged in as root at the terminal and went through all that unecessary rigamaroll with Netinfo Manager...
uoba Re: member May 20, 2002 #6 allow to do it that way! So I did sudo -s and got in as root, which worked.