Default Page

 

FP: How to Use a Document Other Than Index.htm as Default Page

Last reviewed: March 18, 1998
Article ID: Q150681

The information in this article applies to:

Microsoft FrontPage 98 for Windows
Microsoft FrontPage 97 for Windows with Bonus Pack
Microsoft FrontPage for Windows, versions 1.0, 1.1

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, use the following 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).


Home Up Next
Default Page Delete Disk Web Import Navigational Structure Root Folder