Page 1 of 1

Apache on black partition

Posted: Mon Aug 13, 2007 12:16 am
by invisibled
Hey everybody,

i had an idea, and i wanna know if its possible, or if anybody has done it.

So i run Mac OS X and i want to make a blank partition and setup a local server for testing my sites. basicly the exact same as localhost but on a blank partition. So i would need to install apache, php mysql etc etc.

so how would i do it? or could i ever do it? any help would be amazing!

Posted: Mon Aug 13, 2007 12:26 am
by John Cartwright
yes it is possible, you just have to edit your httpd.conf and change the drive letters to your server partition.

Posted: Mon Aug 13, 2007 11:30 am
by invisibled
but im on a mac, as far as i know macs dont have drive letters...

would i still be able to keep my apache installation in the normal place that its in now (/usr/bin/local or whatever the default is)

also, if i did that, would i still access the files via http://localhost/ in my browser?

thanks for the reply :)

Posted: Mon Aug 13, 2007 11:42 am
by feyd
You would simply modify the httpd.conf file to point to the new location of the document root. The application/daemon itself doesn't need movement.

Posted: Mon Aug 13, 2007 12:56 pm
by invisibled
ok thanks for the help!

i'll try it tonight and post again if i need help :)

thanks again