Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hello I am new to ubuntu linux and am currently trying to configure my netbeans to work with PHP. I have found several tutorials to install all the applications I need and have installed a virtual directory for netbeans to run in. Unfortunately, whenever netbeans or I myself go to my local host I get an error 403. I tried modifying my settings to allow from localhost (instead of allow from all) but this did not work and am completely out of ideas.

share|improve this question

migrated from Feb 19 '11 at 14:58

This question came from our site for professional and enthusiast programmers.

Look into the error.log file to see why access was denied. But this is probably better off on serverfault, voting to migrate there – Pekka 웃 Feb 19 '11 at 12:11

I had this error. For me, it was because the web server was running under the user "apache" and it didn't have read permissions on the file it was trying to access -- try chown'ing the directory to "apache".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.