homepage Welcome to WebmasterWorld Guest from 54.242.200.172
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
What to do when Expression Web won't work on your server
How to configure your server for Expression Web
gabby




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

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




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

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




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

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




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

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




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

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




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

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




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

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




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved