NETBUYS.com 

  

FrontPage98 Tips 

  

2. Trick the Import Web Wizard 

FrontPage's Import Web Wizard provides a step-by-step process to import an existing site into a new FrontPage Web. Unfortunately, the Wizard has an annoying quirk that could waste a lot of development time. 

When importing a site, the Wizard automatically changes the filenames of the default pages in the main directory and subdirectories to conform to the FrontPage Personal Web Server's default, which is index.htm. For example, if the external site's server requires each default page in a directory to be named index.html, the Wizard changes the name of each default page to index.htm when you import it to your FrontPage Personal Web Server. 

If you were importing a large site with lots of subdirectories, you'd have to go through and rename each file by hand. To get around that, simply change the Personal Web Server's default page-name setting. 

In Windows Explorer, navigate to your system's FrontPage Webs/Server/Conf folder and open the srm.cnf file with a text editor. Find the section of the file that reads: 

# DirectoryIndex: Name of the file to use as a prewritten HTML
# directory index. This document, if present, will be opened when the
# server receives a request containing a URL for the directory, instead
# of generating a directory index.
# DirectoryIndex index.htm 
 

Remove the pound sign and space from the beginning of the last line and change the filename to whatever default name your host's server requires.
(In our example, the last line would read DirectoryIndex index.html.) 

The next time you start up FrontPage and use the Import Web Wizard, it will leave your default page names as is. 

IntroductionPreviousNext 

 
BACK TO NETBUYS
email NetBuyssm.
Any Comments? Please Call: 800-634-9518
Internet Link Exchange
Member of the Internet Link Exchange
Copyright © 1998 Netbuys. All rights reserved.
Revised: October 14, 1998.