title: Netbeans PHP throws 404 not found
body: <p>Hey everyone, I'm new to PHP and I'm trying to setup a project locally with Netbeans on mac. I have used MAMP to setup my apache server and I test it and the server is running. However when trying to run my simple hello world PHP project I get a 404 not found:</p>
  <p>Current URL used for project: <code>http:/localhost/PhpProject1/index.php</code></p>
  <blockquote>
  <p>Error: The requested URL <code>/PhpProject1/index.php</code> was not found on this server.</p>
  <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p>
  </blockquote>
  <p><strong>My project is found under:</strong> <code>/Applications/MAMP/dtdocs/PhpProject1/</code></p>
  <p>Dir Tree for www: MAMP&gt;htdocs&gt;PhpProject1&gt;index.php</p>