Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 stackoverflow.com Feb 19 '11 at 14:58

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

2  
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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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