There's a common issue people are experiencing when they upgrade their Mac to Snow Leopard (10.6) with forbidden issues whilst accessing websites created through Apache's virtual hosts. The problem is simple, the new httpd.conf file in Snow Leopard is a bit more strict, and so it should be, simply follow the steps below to fix the problem.
Assuming you have Apache2 running and you have your vhost file setup and working. Open your vhost file and make the following modifications:
- sudo vi /etc/apache2/extra/httpd-vhosts.conf
Opens your httpd-vhosts.conf file with vi
- <Directory /path/to/your/website>
- Options FollowSymLinks
- AllowOverride All
- Order Allow,Deny
- Allow from all
That's it, you simply need to tell Apache to allow access from all. If you want to secure this further you may Allow from your own computer only (127.0.0.1).