FP98: How to Use a Document Other Than Index.htm as Default Page
ID: Q194085
|
The information in this article applies to:
-
Microsoft FrontPage 98 for Windows
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:
- Using a text editor, such as Notepad, open the Srm.cnf file in the
FrontPage Webs\Server\Conf folder.
- 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
- Save and close the Srm.cnf file.
- 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:
98
Keywords :
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbhowto kbinfo
Last Reviewed: July 7, 1999