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

Click here to return to the 'Set up new virtual hosts by creating new folders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set up new virtual hosts by creating new folders
Authored by: boxcarl on Dec 16, '08 11:17:50AM
You do have to be careful about /Library/Webserver/Documents since upgrading OS X, for example, will clobber whatever files you put in there. My solution is just to move the Documents to Documents-Apple Junk then add a symlink to my ~/Sites folder using ln -s. Actually, I have a couple sites that I administer, so what I do is symlink to ~/Sites/localhost, and "localhost" itself is a symlink to either ~/Sites/site1 or ~/Sites/site2, etc. depending on what I'm working on testing today. That way you don't need to sudo in order to change your localhosting directory.

[ Reply to This | # ]