So far, I read on MacRumors of:
System-wide site
Files at
/Library/WebServer/Documents
will, by default, be shared as the root Web site when Web sharing is turned on. These files can be accessed athttp://localhost/
orhttp://<yourIPaddress>
.User-specific sites
Files at
~/Sites
, or in your home folder's Sites folder, are considered your user-specific site files. Each user by default has one of these folders. Each user's site can be accessed athttp://<yourIPaddress>/~(shortusername)
.
It's all depicted when activating Web Sharing:
But my static files are in a different folder, so I would like to serve them from ~/Projects/js-spa
instead of from ~/Sites
, but reading about configuring Apache, I can't find /etc/httpd/httpd.conf
on Lion.
How can I configure where do I want to serve the personal website from?