Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I do have Ubuntu desktop 10.04 which all my php web application folder resides at the var/www,copying all files to ubuntu desktop 11.10 var/www folder and run it at the browser with url: "http://localhost/somewebapplication" it gives me (403 Forbidden).

The Apache MySQL PHP already installed and running just fine, just to test I create a php file that displays a phpinfo() at sub-folder var/www/test/ and access it from the browser with url "http://localhost/test" it show's the php information.

what could be seems the problem?

share|improve this question
Could you add an excerpt of your error log? – Christopher Perrin Jul 11 '12 at 4:34
What do the directory/file permissions look like on the somewebapplication directory? – qweet Jul 11 '12 at 4:41
Logs and config files are the only way we're going to solve this. – womble Jul 11 '12 at 4:55
I'm sorry but it is my first time to use ubuntu desktop which my boss needs to transfer the files from one to another. By the way how can I get those logs? – aintgel Jul 11 '12 at 6:30
yes Sir. qweet "somewebapplication" is a example directory under the var/www. – aintgel Jul 11 '12 at 7:21

I sugest reading this: About linux permissions first then this Post to find out what to set, as poster had similar problem, as you have.
Hope this helps.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.