I'm on my first steps with OS X and I'm trying to setup Apache so I can develop a website. I configured a new alias on /etc/apache2/other with the following content, pointing to my project folder, like this:

Alias /mySite /Users/me/Documents/workspace/mySite   
<Directory /Users/me/Documents/workspace/mySite>
  Options Indexes     
  Order allow,deny
  Allow from all 
</Directory>

However, accessing to localhost/mySite gives me a 403 forbidden. I have access to localhost (which I realize has its web folder at /Library/WebServer/Documents) and I have access to localhost/~me (which shows the content of ~/Sites). I also tried to deploy my site in that folders and I can have access to it, but my ideia was, at most (if configuring the site on Apache fails), to use a symbolic link there pointing to the real project location, but right now I'm also getting the same 403 with it. Can someone help me with this?

Thanks!

link|improve this question
What error is being logged? Look in either /var/local/apache2/error_log or use Console.app to find out. – Spencer Wysinger Jan 4 at 5:48
feedback

migrated from stackoverflow.com Jan 4 at 15:57

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown