apache on osx doesn’t like filevault
when trying to access web pages served by apache on mac osx (tiger) from my user directory in the format localhost/~rick, I was getting a 403 error: You don’t have permission to access /~rick/
I tried changing the permissions but no joy. As I had this working previously I realised that it might actually be to do with filevault, which I activated recently. googling around it looks like it is filevault causing this.
I haven’t bothered trying to resolve this, as I was only using the users directory because I couldn’t be bothered to look into setting up virtual hosts to run multiple sites (I will now!)
update: this is a very good how-to for setting up virtual hosts.
I now have a directory outside my users directory containing all the sites I want to use with apache, with corresponding virtual hosts such as sandbox.test.site