Permission Denied by Apache 2

Discussion in 'Web Design and Development' started by dlamet, Dec 19, 2011.

  1. dlamet macrumors newbie

    Nov 11, 2009
    I'm on OS X 10.6. I'm using Apache2 with Passenger for Ruby support. I now want to work on a PHP project. I've created a directory in my local user's tree for it and a virtual host. When I browse to the site, I get a permissions error:

    You don't have permission to access / on this server.

    I've changed permissions on everything to 777 (open as I can make it) in the directory and up the tree to my user's root. That didn't help. I then changed the user to my local user. That didn't seem to help either. (Aapche is running with user/www group/admin)

    Thanks in advance.
  2. jared_kipe macrumors 68030


    Dec 8, 2003
    Do you have any content to get in that directory? If you don't have an index.whatever, and you block showing the contents of a directory you'll get the same message.

Share This Page