Enabling PHP, Apache, & .htaccess in Mac OS X

I’m trying out developing without MAMP, and relying on the frameworks that are built into OS X. Here’s how I got Apache, PHP, and htaccess working:

Additionally, I changed the document root to point to my projects folder.

Within /etc/apache2/httdp.conf it can be changed in:

DocumentRoot "/Users/username/projects/"

And then in /etc/apache2/users/username.conf

<Directory "/Users/username/projects/">