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

System Administrator Tasks - Basic

Serving Files
From a Minidisk
From an SFS Directory
From a BFS Directory
Using CMS Search Order
Naming Files to Serve
Overriding Automatic Directory Generation
Using DIRMAP Files
Using INDEX HTML Files
Publishing Files Created Using a Web Authoring Tool
Using Microsoft FrontPage
Using Netscape Composer
Creating DIRMAP Files from Webshare FILELIST Files
Viewing VM:Webgateway Set Up
Changing a VM Password

Serving Files from a Minidisk


Steps | URLs For Files Served from Minidisks | When URLs Identify Directories

Steps

  1. Ensure the VM:Webgateway SVM has read access to the minidisk.
  2. Move the files you want to serve to the minidisk.
  3. Create a VMWEBSRV DIRMAP file on the minidisk if it does not already exist.
  4. Add FILE directory control records to the VMWEBSRV DIRMAP to identify the files you want to serve.

URLs for Files Served From Minidisks

A web browser user views a file by identifying the file in the last element of the path portion of the URL.

Examples

  • The user with VM userid JOE moved the file HOMEPAGE HTML to the minidisk defined as userid JOE's user page. He also added a FILE record to the VMWEBSRV DIRMAP file to identify the HOMEPAGE HTML file. The VM:Webgateway SVM is identified by www.company.com on TCP port 80. To view the file HOMEPAGE HTML owned by userid JOE, use the following URL:

    http://www.company.com:80/~joe/homepage.html

  • The VM:Webgateway system administrator moved the file OPENINGS HTML to the server root domain. The system administrator also added a FILE record to the VMWEBSRV DIRMAP file to identify the OPENINGS HTML file. The VM:Webgateway SVM is identified by www.company.com on TCP port 80. To view the file OPENINGS HTML in the server root domain, use the following URL:

    http://www.company.com:80/openings.html


Note: If VM:Webgateway is using SSL Feature and is configured to use SSL, begin the URLs with https:// rather than http://. To determine whether VM:Webgateway is using SSL, enter the QUERY SOCKET command from your VM userid.

When URLs Identify Directories

When a web browser user enters a URL that identifies a directory rather than a file, VM:Webgateway generates and serves an automatic directory. An automatic directory is a list of files available for serving, that is, a list of files you identify in the VMWEBSRV DIRMAP file. VM:Webgateway creates a hyperlink to each file in the list to allow a user to easily select and view files.


Note: To prevent VM:Webgateway from generating and serving an automatic directory, define a file you want VM:Webgateway to display when a URL identifies a directory. Overriding Automatic Directory Generation (listed in the side bar) describes how to prevent VM:Webgateway from serving automatic directories.

Examples

  • The following is an example of a URL for data in VM userid JOE's user page that identifies a directory:

    http://www.company.com:80/~joe/

  • The following is an example of a URL for data in the server root domain that identifies a directory:

    http://www.company.com:80/


Note: To make the URLs that are required to access your files more meaningful, create logical directories and use alias names.

Top
Select where you want to go:

Copyright © 1998, Sterling Software, Inc.