How to serve the personal website from different folder? 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 at http://localhost/ or http://&lt;yourIPaddress&gt;.
  
  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 at http://&lt;yourIPaddress&gt;/~(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?
If you're up for it, httpd.conf should be in /etc/apache2/ on Lion/ML. Some mac-centred help is at this blog.

Have a look at "How to turn Mac OS X Lion into a web server?" for instructions on the Web Sharing pane, and doing similar things in Terminal under Mountain Lion.