index.php does not open up automatically

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Jacob Søndberg

index.php does not open up automatically

Post 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
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: index.php does not open up automatically

Post 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
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: index.php does not open up automatically

Post by KO »

In some servers you might also be able to use htaccess file if you cannot access apache conf files.
Jacob Søndberg

Re: index.php does not open up automatically

Post by Jacob Søndberg »

Hej guys,

Now it works, thanks a lot
Locked

Return to “CMSMS Core”