Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'serving apache from another drive' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
serving apache from another drive
Authored by: tomassetti on Apr 12, '01 03:45:53PM

Hi!
Using the terminal is quite simple to get any hard drive or partitions.
You should go to the directory /Volumes/ typing:
cd /Volumes
In this directory You will find all the Volumes mounted on Your desktop. Simply type
cd NAME_HD
to get in

To let Apache serve documents stored in different hard drives or partitions You should configure it to do so... the simplest way is to create a symbolic link form the standard serving location to the desired location in the different hard drive. You can use the command
ln -s /Volumes/NAME_HD/PATH/DESIRED_DIRECTORY NAME_OF_LINK
while staying in the apache standard serving location.

Good luck!
Luca



[ Reply to This | # ]