At work I do a lot of prototyping against API services that come from both internal and external sources. If you are on a Mac and testing locally a web page that leverages API calls from the client side in the Safari browser, there are no issues there. It is when you want to host these files and share your demo that issues arise. I am not a command line jockey, so configuring test boxes for server-side REST calls is not something I like to spend a ton of time on. So, I often have to rely on a Cross Domain Scripting hack or two for my client-side calls to work.
I just got a new machine to work on and building off my own previous advice, I set it up as a brand new machine and migrated nothing from my old one. That being said I had to go about rebuilding my entire dev environment and installing all my applications. While doing so I came across a great write up by Neil Gee on how to quickly get a localhost web server environment going in Mac OS X 10.9 Mavericks. The how to was a huge time server and I thought I would repost it here. So, if you work in a LAMP development environment and find yourself upgrading or getting a new Mavericks machine, this guide will come in very handy.