Default Files

A default file, also known as a directory index file or home page, is the Web page that users reach when they type a site URL that does not contain a specific file name in the Address box of their browser. For example, users reach the www.microsoft/default.htm page when they type either www.microsoft.com or www.microsoft.com/default.htm in their browser. Web log files, however, count the two URLs as hits to two different pages.

You can set the Default Files option in Commerce Server 2000 to designate multiple URLs to be counted as hits to the same page. You can use this option to create redirects and multiple paths into your site without decreasing the accuracy of your total site user statistics.

In addition, you can choose to display file name strings without their top-level directories before they are imported. This practice makes it easier to work with your files if your site directories are stored in a subdirectory that you do not need to view in your reports.

For Internet Information Services (IIS) 5.0, this setting is synchronized automatically during setup with the base URL directory index files that are listed in IIS.

Ee810575.note(en-US,CS.10).gif Note

  • For non-IIS servers, the default settings are Index.html, Index.htm, and Default.htm. If these settings are not correct for your site, change them to ensure that your request count will be accurate.

To set a directory index file

  1. Expand Microsoft SQL Server, expand SQL Server Group, and then expand the server on which your Data Warehouse is installed.

  2. Right-click Data Transformation Services, and then click New Package.

    Alternatively, if you are changing an existing package, right-click Data Transformation Services, click All Tasks, and then select Open Package. Select the package you want to change, and then click Open.

  3. On the Task menu, click Web server log import (Commerce Server).

  4. In the Import Web Server Logs dialog box, click Advanced.

  5. On the Default Files tab, in the Advanced Web Log Import Properties dialog box, do the following:

    Use this To do this
    Truncate top level directory from file system paths Select this box to display file name strings without their top-level directories.
    Directory index file Type the name of the file you want to designate as a directory index file.
    Add Click to add the new directory index file to the default file list.
  6. Click Apply, and then click OK.

The directory index files have been set for the Web log file import process. You can continue to configure the Web log file import process, or you can import data into the Data Warehouse. You must synchronize your site configuration with the Data Warehouse before importing data into the Data Warehouse.

See Also

Data Warehouse Components

Configuring Web Log File Import Properties

Importing Data into the Data Warehouse


All rights reserved.