Configuring Apache Document Root for Eclipse Workspaces with PHP
I've set up PHP and Apache for my Snow Leopard machine using these instructions I can change Document Root in httpd.conf such that I can run ph开发者_Python百科p files from different local directories. However, when I set it to the the location of my Eclipse workspace, I get "Forbidden - You don't have permission to access / on this server"
I'd like to be able to use the Eclipse New PHP Project to "Create a new project in workspace" instead of creating a directory somewhere else and using "Create project at existing location..."
What am I missing?
You need to modify corresponding <Directory path>
directive. You already have this directive for previous DocumentRoot, so just change path in there to your current document root.
精彩评论