LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-14-2006, 10:01 AM   #1
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Rep: Reputation: 31
Question 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...
 
Old 08-14-2006, 10:19 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
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.
 
Old 08-14-2006, 10:56 AM   #3
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Original Poster
Rep: Reputation: 31
Thanks cdhgee, but I don't know what should I be checking for in my CMS?
 
Old 08-14-2006, 11:01 AM   #4
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get 404 Not Found error Steve Riley Ubuntu 3 06-21-2006 06:31 PM
Possible Apache exploit / 404 NOT FOUND rioguia Linux - Security 5 01-03-2006 03:07 PM
Unwanted 404 error with apache Vossy Linux - Software 0 12-26-2005 08:31 PM
why is apache giving me a 404 error linuxmandrake Linux - Software 4 06-17-2005 09:16 AM
odd Apache 404 error Seventh Linux - Software 1 03-27-2005 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration