|
|
|
Set up new virtual hosts by creating new folders
One problem with doing it this way is that your web files must reside in /Library/WebServer/Documents. This makes it tougher to get to and from these documents, compared to setting up a separate account for each web client, and having all client files in that account.
Set up new virtual hosts by creating new folders
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.
|
SearchFrom our Sponsor...Latest Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 days
Links last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2013 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.09 seconds |
|