Page 1 of 1

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

Posted: Wed Sep 21, 2016 5:24 am
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?

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

Posted: Wed Sep 21, 2016 8:15 am
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.