LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Apache error: 404 Not Found, why? (http://www.linuxquestions.org/questions/ubuntu-63/apache-error-404-not-found-why-473756/)

cucolin@ 08-14-2006 10:01 AM

Apache error: 404 Not Found, why?
 
Hello friends, some time ago I was told that if I place a file at /var/www/"anything" at the DocumentRoot it will be as my index file. Now, I installed the MediaWiki and I place the DocumentRoot like this and I restarted Apache:

/var/www/mwiki1.7.1

And I get this error:

Not Found
The requested URL /mwiki1.7.1/index.php/Main_Page was not found on this server.
--------------------------------------------------------------------------------

Apache/2.0.55 (Ubuntu) PHP/5.1.2 Server at 10.0.3.107 Port 80

I tried this with a CMS called Jupiter and it worked fine. I not sure if this error has to do with MediaWiki.

Thanks...

cdhgee 08-14-2006 10:19 AM

This is a configuration error with your CMS. For whatever reason, Apache is processing the full request (/index.php/Main_Page), but it should only be processing the index.php. MediaWiki should be processing the Main_Page directive. Check your CMS.

cucolin@ 08-14-2006 10:56 AM

Thanks cdhgee, but I don't know what should I be checking for in my CMS?

cdhgee 08-14-2006 11:01 AM

I've never used MediaWiki so I can't advise you on that I'm afraid. You might try re-reading the documentation on how you integrate it with Apache, that might give you some ideas.


All times are GMT -5. The time now is 08:38 AM.