Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: open
One thing EW does is that it creates a home page named default.htm
Apache dedicated servers will not display a page named default.htm without some re-configuration.
These instructions are for those of you using an Apache dedicated server -- not for shared hosting.
Here's how to do it:
How to add default.htm to an Apache server
Log on using Putty (a free program, just G it) with your username and password.
Enter: su (switch user & log into root)
Copy this code -- vi /etc/httpd/conf/httpd.conf -- then right click on your putty window and it will enter it automatically. Press enter.
You will be using Vi to edit your files.
Use your arrow keys to maneuver down to your DirectoryIndex on line 375.
Position the blue or green cursor after DirectoryIndex, press i on your keyboard (this puts you in insert mode).
Type in: default.htm
Enter :wq (for write & quit)
EW does create default.htm as the home page when you create a new web. There was speculation on another post [webmasterworld.com] about this as Microsoft's attempt to force people off Apache servers. I have searched EW on how to change the default home page to index.htm, but with no success. You can, however, manually change default.htm to index.htm, or .html, and EW will adjust the links. As before, you right click the file name and select "rename", change it to index (or whatever) and click again to save it. EW will ask you "There are x-number of files linked to this. Do you want to update them." Hit yes and life is good.
used file names that work best with Microsoft servers
The internet suggests the default list supported by IIS is: default.htm, default.asp, index.htm, default.aspx. Had Microsoft wished to make things work well for most people, then index.htm would have been the logical choice as it would have worked fine with IIS and with Apache by default.
This thread seems to be pretty-much the same as: [webmasterworld.com...]
If Microsoft servers had the majority of the server market share then this might have been a reasonable thing to do.
Regardless, your point is well made across these two threads. The old FP default was more compatible with Apache. However, the fix seems pretty trivial in EW if you're simply renaming the page.