VM:Webgateway Web Server
Select where you want to go:

Reference -
Directory Control Records

Introduction to Directory Control Records
Comment
DIR
FILE
For Minidisks, CMS Search Order, and SFS Directories
For BFS Directories
INDEX
Sample DIRMAP File

INDEX Record


Record Syntax | Example

The INDEX directory control record specifies the file VM:Webgateway should serve if a URL identifies a directory.

Record Syntax

INDEX filename filetype
filename filetype
Identifies the file you want VM:Webgateway to serve when the URL does not specify a file. You cannot use pattern-matching characters in filename and filetype. To identify the characteristics of the file, specify a configured filetype definition for filetype. Enter the QUERY FILETYPE command from a VM userid for a list of configured filetype definitions.

For a DIRMAP file on a minidisk or SFS directory:
Specify the filename and filetype of the file you want VM:Webgateway to serve.

For a DIRMAP file on a BFS directory:
Specify values for filename and filetype that allow VM:Webgateway to form the name of the BFS file you want to serve. VM:Webgateway forms the BFS file name by joining the values you specify for filename and filetype and placing a period between them.

The values for filename and filetype are case sensitive. VM:Webgateway looks for a file with a BFS file name that has the exact case specified in filename and filetype.


Note: The DIRMAP file should contain only one INDEX record. If more than one INDEX record exists, VM:Webgateway uses the first record.

Example

  • You are serving files from an SFS directory. The SIDE DIRMAP file contains the following record:

    INDEX HOMEPAGE HTML

    VM:Webgateway serves the HOMEPAGE HTML file if a user enters the following URL that identifies a directory:

    http://www.company.com/side

  • You are serving files from a BFS directory. The TopTen.DIRMAP file contains the following record:

    INDEX Summary Html

    VM:Webgateway serves the Summary.Html file if a user enters the following URL that identifies a directory:

    http://www.company.com/TopTen


Top
Select where you want to go:

Copyright © 1998, Sterling Software, Inc.