404 Not found on domain name but OK on /index.php

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
catchlight
Forum Members
Forum Members
Posts: 20
Joined: Wed Jan 28, 2009 1:12 am

404 Not found on domain name but OK on /index.php

Post by catchlight »

Hi all, My CMSMS site running 1.12.1 works on http://www.mydomain.com/index.php but serves a 404 Page not Found error on mydomain.com

I can login OK and have cleared cache and re-set default page.

Has anyone struck this before? Am I missing something basic?
scooper
Forum Members
Forum Members
Posts: 242
Joined: Fri Dec 09, 2005 12:36 pm

Re: 404 Not found on domain name but OK on /index.php

Post by scooper »

It could be that your Apache conf isn't set to use index.php as a default page so if it doesn't find an index.html file it just gives up and returns a 404.

Try adding

Code: Select all

        DirectoryIndex index.php
to your .htaccess file to see if that helps.

Really though this is the kind of thing that should be set in your httpd.conf file.
Post Reply

Return to “The Lounge”