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 just went through all the steps to configure something to be run on Apache called OntoWiki. I set up and tested Apache, PHP, and other tools that are required and all seem to be fine.

If I go to http://localhost/ I do see my Apache server loading up. But if I go to http://localhost/myow/ (the directory if the installation) then it gives me a 404 page.

I checked and I do have a directory /var/www/myow in my Ubuntu setup. Any idea for what can be causing the 404 page to get displayed despite having the right directory?

I even changed the directory permissions to be 777, but the OntoWiki welcome page is still not getting served up.

Thanks, Alex

share|improve this question
Take a look at your error log in /var/log/apache2/error_log If you are getting a 404 then the entry in the error log should show the full path that apache is trying to access. – Pratik Amin Mar 28 '11 at 19:10
Yup, already looking there, and it makes sense. Or I can be blind which is not out of the question :) – Genadinik Mar 28 '11 at 19:13
And the exact error from the log is??? – Chris S Mar 28 '11 at 19:26
up vote 0 down vote accepted

The problem was this issue: Apache directories under /var/www

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.