Welcome to WebmasterWorld Guest from 54.167.22.37

Forum Moderators: open

Message Too Old, No Replies

What to do when Expression Web won't work on your server

How to configure your server for Expression Web

     

gabby

10:59 pm on Oct 3, 2007 (gmt 0)

10+ Year Member



Microsoft's new Expression Web, which has replaced FrontPage is now available.

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)

Re-enter password

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

Hit escape

Enter :wq (for write & quit)

Restart server

done

bill

12:48 am on Oct 4, 2007 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



I'm not sure why this is a big issue with Expression Web. FP2003 names your index pages index.htm by default. I prefer them to be index.html so all I would do is Rename them from the folder list. FP would then go through the entire web and make sure all links pointing to old index.htm were updated to index.html. That's a pretty standard FP operation. Can't EW do this?

Marshall

1:25 am on Oct 4, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



gabby and bill,

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.

Marshall

gabby

2:23 am on Oct 4, 2007 (gmt 0)

10+ Year Member



If Microsoft is truly trying to force people off Apache servers it seems pretty short-sighted on their part.

I think most people would think that the problem lies with Expression Web, and not with their server.

I believe most people would switch software before switching servers.

Marshall

2:30 am on Oct 4, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In my opinion, I seriously doubt it is some Microsoft conspiracy and I suspect that if one searches deep enough, say on MS's site, you can find how to change the default page setting. Until then, just change it to index.whatever. Of course, the flip side is with EW, MS is more or less pushing asp.net. But even then, you are not required to use it.

Marshall

bill

5:30 am on Oct 4, 2007 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



I agree with Marshall. This is no MS conspiracy. They've always used file names that work best with Microsoft servers. You can change the name simply if you want. There's no need to reconfigure your server unless you really want to.

vincevincevince

5:36 am on Oct 4, 2007 (gmt 0)

WebmasterWorld Senior Member vincevincevince is a WebmasterWorld Top Contributor of All Time 10+ Year Member



used file names that work best with Microsoft servers

If Microsoft servers had the majority of the server market share then this might have been a reasonable thing to do. As it is it seems to be yet another case of them abusing one monopoly to try to create another.

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...]

bill

7:31 am on Oct 4, 2007 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



If Microsoft servers had the majority of the server market share then this might have been a reasonable thing to do.

If the latest web server surveys [news.netcraft.com] are any indication it looks like Apache use is declining sharply and IIS uptake is on the rise. ;)

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.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month