PDA

View Full Version : site does not open properly



mmma430
07-25-2008, 10:27 PM
Recently I had to remove a lot of my files and added some new files to my website http://www.shopping-delite.com

After that when I type my site's abovementioned name in my browser it opens only default page set by hosmonster for new sites. Problem continues even after renaming default.php(may be default.html) file. And when I type http://www.shopping-delite.com/index.php
my newly established site opens.

Any suggestions/solutions plz so that my site may open without adding "index.php" to its name.

shadmego
07-25-2008, 11:17 PM
delete the file default.html from your public_html folder.

In Apache, the document names the program looks for is done so in a linear fashion. What I mean is if you have three files listed in Apache:



DefaultDocuments default.html index.html index.php


Apache will look for a default.html file first. If that file isn't present, it will look for index.html, and then index.php.

Since you don't have the ability to change the order of files, you simply delete the default.html file and your site will load properly.

~regards

mmma430
07-26-2008, 06:52 AM
Hi,
Thanks for your prompt response.
Default.html renamed - but does not work
Default.html deleted - but does not work

Falcon1986
07-26-2008, 07:18 AM
Your site loads just fine for me now.

mmma430
07-26-2008, 08:32 AM
Thanks everyone for their suggestions. Now matter resolved. So far as I understand it was all due to some "cookie".