Paul Beusterien
Paul Beusterien

Reputation: 29547

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 php 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?

Upvotes: 1

Views: 4008

Answers (1)

German Rumm
German Rumm

Reputation: 5812

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.

Upvotes: 1

Related Questions