开发者

Configuring Apache Document Root for Eclipse Workspaces with PHP

开发者 https://www.devze.com 2023-02-05 00:06 出处:网络
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 directorie

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号