FP98: How to Use a Document Other Than Index.htm as Default Page (194085)



The information in this article applies to:

  • Microsoft FrontPage 98 for Windows

This article was previously published under Q194085

For a Microsoft FrontPage 97 and earlier version of this article, see 150681.

SUMMARY

This article describes how to use a page other than Index.htm as the default when a URL is given without a page specification.

MORE INFORMATION

FrontPage Personal Web Server, by default, loads the Index.htm page if a specific page URL is not given. For example, if the URL "ThisWeb.com" was received, it loads ThisWeb.com/Index.htm.

To change this designation, follow these steps:

  1. Using a text editor, such as Notepad, open the Srm.cnf file in the FrontPage Webs\Server\Conf folder.
  2. Insert a line that specifies what you would like the default page to be. For example if you want your default page to be Index.html, insert a line that looks like this: DirectoryIndex index.html
  3. Save and close the Srm.cnf file.
  4. Stop and restart the Personal Web Server.
The next time this Web is browsed "Index.html" will be loaded.

If this page is not located in the Web, a text directory that contains hyperlinks to all existing pages will be loaded instead.

Note that changing the extensions designation from .htm to .html in the Srm.cnf file works for the default page (index.htm to index.html); however, any additional pages in the Web will not have their extension designation changed (for example, mypage.htm remains as mypage.htm).

Modification Type:MajorLast Reviewed:10/3/2001
Keywords:kbhowto kbinfo KB194085