Apache on black partition

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
invisibled
Forum Contributor
Posts: 112
Joined: Sun Apr 29, 2007 3:35 pm
Location: New Westminster

Apache on black partition

Post 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!
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

yes it is possible, you just have to edit your httpd.conf and change the drive letters to your server partition.
invisibled
Forum Contributor
Posts: 112
Joined: Sun Apr 29, 2007 3:35 pm
Location: New Westminster

Post 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 :)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
invisibled
Forum Contributor
Posts: 112
Joined: Sun Apr 29, 2007 3:35 pm
Location: New Westminster

Post by invisibled »

ok thanks for the help!

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

thanks again
Post Reply