Page 1 of 1

index.php does not open up automatically

Posted: Sun Jun 17, 2007 5:07 pm
by Jacob Søndberg
Helle everybody,
I have installed and configured CMS Made Simple on a Linux server. When I type the url of the webpage http://cms.consit.dk/cms/ my site does not open up.

I have to type the entire path http://cms.consit.dk/cms/index.php for it to open. When I use the "view site" function in CMSMS I get the same problem.

Why does not index.php open up automatically just by entering http://cms.consit.dk/cms/? I have several installations on Windows Servers where I do not get this problem. Do I need to do something speciel in Linux?

I have tried to reeinstall but it did not help.

I look forward to heering from you

Jakestar

Re: index.php does not open up automatically

Posted: Sun Jun 17, 2007 8:17 pm
by tsw
apache must be configured to use index.php as default page if no page is defined.

this is done with DirectoryIndex directive in apache configuration file.

usually something like:

DirectoryIndex index.html index.htm index.php index.pl

hope this helps

Re: index.php does not open up automatically

Posted: Mon Jun 18, 2007 6:52 am
by KO
In some servers you might also be able to use htaccess file if you cannot access apache conf files.

Re: index.php does not open up automatically

Posted: Mon Jun 18, 2007 10:51 am
by Jacob Søndberg
Hej guys,

Now it works, thanks a lot