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

Sample DIRMAP File


Sample File | See Also

The sample DIRMAP file shown below contains records that:

  • Point to the following DIRMAP files:
    • MORNING DIRMAP
    • EVENING DIRMAP
    • LATE DIRMAP
  • Specify files VM:Webgateway can serve:
    • HOMEPAGE HTML
    • NEWS HTML
    • NEWSCLIP GIF
    • MYPGM CGIREXX
    • PROJA CHAPTER1
  • Specify VM:Webgateway should serve the HOMEPAGE HTML file if a URL identifies a directory.

Sample File

      * This is a sample DIRMAP file 

* The following records point to other
* DIRMAP files
DIR MORNING MORNING
DIR EVENING EVENING
DIR LATEEDITION LATE

* The following records indicate files
* VM:Webgateway can serve
FILE HOMEPAGE.HTML = =
FILE NEWS.HTML = =
FILE NEWSCLIP.GIF = =
FILE MYCGIPIPE MYPGM CGIREXX

* CHAPTER1 is not a defined filetype. Use the
* defined filetype BOOK2HTM for the file's
* characteristics.
FILE PROJECTA.CHAPTER1 PROJA CHAPTER1 BOOK2HTM

* If a web browser user requests an HTML
* file using a URL that indicates .source
* rather than .html, display the file
* using the file characteristics associated
* with the filetype TXTPLAIN. (The content
* type for TXTPLAIN is text/plain and allows
* the web browser user to view the HTML
* source.)
FILE *.SOURCE = HTML TXTPLAIN

* The following indicates the file
* VM:Webgateway should serve if the
* URL identifies this DIRMAP file but does not
* identify a file
INDEX HOMEPAGE HTML


See Also

The Evaluating Records in Multiple Files page contains examples of how VM:Webgateway evaluates access control information contained in multiple files. This page also illustrates how VM:Webgateway evaluates directory control information contained in multiple files.

Top
Select where you want to go:

Copyright © 1998, Sterling Software, Inc.