I`m using Snow Leopard for web development with PHP. I have a folder in my home directory which is used as the eclipse workspace for the project. I would like to use it as my deployment directory in Apache, so that any changes that i make will be instantly visible.
For that purpose i created an Alias in httpd.conf as follow:
Alias /mysite/ "/Users/mysuser/workspace/mysite"
<Directory "/Users/victor/workspace/mysite">
Order allow,deny
Allow from all
</Directory>
However, when i try to access http://localhost/mysite/index.php i get:
Forbidden You don't have permission to access /mysite/index.php on this server.
I have checked the permissions of the folder and all users can read/write/execute on it.
Am i missing something ? Also, is there a better alternative to using aliases pointing to my workspace ? Thanks, Victor.