I see file list when I try to go to home page...

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.
Post Reply
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

I see file list when I try to go to home page...

Post by sarah_h »

Hi all,

I'm sure this is very simple and I've looked throught the forum can't find anything to help.

If I try to go to www.mysite.com all I'll see it a list of all the files and folders on the server for the site I'm working on including index.php etc. If I click on another page its ok but when I try the home page again the file list is seen! Everything in config.php looks ok. I'm running on localhost BTW. It's the same when I click on the 'View Site' in admin too, oh, and when I click on index.php in the file/folder list that too works fine and I see the home page!

I get the feeling I'm missing something VERY simple here but I can't for the life of me find what it is!!

Can anyone help?

Sarah
kode_fi
Forum Members
Forum Members
Posts: 21
Joined: Mon Oct 17, 2005 7:13 am

Re: I see file list when I try to go to home page...

Post by kode_fi »

You need to give more info on your server: Windows or linux, IIS or Apache etc.
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

Re: I see file list when I try to go to home page...

Post by sarah_h »

Well, something strange...

I'm using Apache and thought I'd look into that and noticed that the line in httpd.conf for directoryIndex was misdsing index.php so I popped that in and guess what, yes it's working. The strange thing is that over the last 6 years or so that I've been developing I've never done this before and all sites have worked. All other sites except the one using CMSMS were working without this addition to the httpd.conf file!! Whay is that do you think?
Pierre M.

Re: I see file list when I try to go to home page...

Post by Pierre M. »

Hello Sarah,

as kode_fi has said, we need more information (Windows ? Xampp ? Linux distro ?), from the begining. You say the admin works so how was the install, which lights weren't green, have you ever seen a public page working, etc...

Yes, something very simple may be wrong in your webserver but we can't diagnose your problem if you don't tell us how you have achieve to be at the point you are now (install procedure, server settings...)

Pierre M.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: I see file list when I try to go to home page...

Post by Dr.CSS »

Maybe all other things you did had index.html so it never showed before...
Post Reply

Return to “CMSMS Core”