OS X Web Sharing and FileVault
The one great thing about OS X is that it's great if you're doing open-source development. The system comes bundled with Apache and with a short tweak you can get PHP4 running in no time.
But things fell apart soon after I enabled FileVault protection on my profile. Suddenly no pages were loading and instead there was a wonderful 403 error in their page
Forbidden You don't have permission to access /~user/test.php on this server
Thankfully Anabasis has the answer on this post. With FileVault running permissions on your home folder and below to exclude others from reading files. To get Apache back up and running serving your files open a terminal an:
- cd ~
- chmod 701 .
- cd Sites
- chmod 705 .
Et Voilà, it's all back up and running!