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
I see file list when I try to go to home page...
Re: I see file list when I try to go to home page...
You need to give more info on your server: Windows or linux, IIS or Apache etc.
Re: I see file list when I try to go to home page...
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?
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?
Re: I see file list when I try to go to home page...
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.
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.
Re: I see file list when I try to go to home page...
Maybe all other things you did had index.html so it never showed before...