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


Additional query words: 1.10 97 98
Keywords : kbusage kbdta
Version : windows:1.0,1.1,97,98
Platform : WINDOWS
Hardware : x86
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.