Web Server Solutions for VM/ESA
Total Page:16
File Type:pdf, Size:1020Kb
IBML Web Server Solutions for VM/ESA Erich Amrehn, Nicholas J. Gimbrone, Bruce J. Hayden, Stephen Record International Technical Support Organization http://www.redbooks.ibm.com This book was printed at 240 dpi (dots per inch). The final production redbook with the RED cover will be printed at 1200 dpi and will provide superior graphics resolution. Please see “How to Get ITSO Redbooks” at the back of this book for ordering instructions. SG24-4874-01 IBML International Technical Support Organization SG24-4874-01 Web Server Solutions for VM/ESA December 1998 Take Note! Before using this information and the product it supports, be sure to read the general information in Appendix D, “Special Notices” on page 227. Second Edition (December 1998) This edition reflects Virtual Machine/Enterprise Systems Architecture Version 2 Release 2.0, Program Number | 5654-030, and subsequent releases, EnterpriseWeb/VM, VM:Webgateway Release 2.2, VM:Webserver OfficeVision | Interface and Webshare. Comments may be addressed to: IBM Corporation, International Technical Support Organization Dept. HYJ Mail Station P099 522 South Road Poughkeepsie, New York 12601-5400 When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. Copyright International Business Machines Corporation 1996, 1998. All rights reserved. Note to U.S. Government Users — Documentation related to restricted rights — Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp. Contents Figures . ix Tables . xi Preface . xiii The Team That Wrote This Redbook ........................ xiii Comments Welcome . xiv Chapter 1. Internet Concepts . 1 1.1 The World Wide Web ................................ 1 1.2 An Intranet . 1 1.3 The URL . 2 1.4 Home Pages . 3 1.5 HTTP . 3 1.6 HTML . 5 1.6.1 Creating an HTML Document ........................ 6 1.6.2 Major HTML Tags ............................... 7 1.6.3 Text Formatting Tags ............................. 10 1.6.4 Creating Forms . 16 1.6.5 Sample Document . 21 1.6.6 Netscape-Specific Extensions . 22 1.6.7 Microsoft Internet-Specific Extensions ................... 22 1.6.8 Special Characters . 22 1.6.9 Frames . 23 1.6.10 Images . 23 1.6.11 Meta Information . 25 1.6.12 Multimedia . 25 1.6.13 Creating Effective Online Information ................... 25 1.6.14 HTML Editing Tools ............................. 29 1.6.15 Icons and Clip Art .............................. 31 1.6.16 Best of the Web ............................... 31 1.7 Java . 31 1.8 Application Programming Interfaces ...................... 33 1.8.1 Common Gateway Interface (CGI) ..................... 33 | 1.8.2 Server-Side Include . 33 1.8.3 How to Choose a Programming Interface ................. 34 1.9 TCP/IP . 34 1.9.1 TCP/IP Operation . 35 1.9.2 Request for Comments (RFC) ........................ 36 1.9.3 TCP/IP Layers . 36 1.9.4 Application Layer . 36 1.9.5 Transport Layer . 40 1.9.6 Internet Layer . 40 1.9.7 Network Layer . 41 1.10 Security . 42 1.10.1 Secure Sockets Layer (SSL) ........................ 43 1.10.2 Secure HyperText Transport Protocol (S-HTTP) ............ 44 | 1.10.3 Secure Electronic Transactions (SET) .................. 45 1.11 Firewalls . 45 1.11.1 Proxy Servers . 46 1.11.2 SOCKS Servers . 47 Copyright IBM Corp. 1996, 1998 iii Chapter 2. VM/ESA and the Web ........................... 49 2.1 The Universal Client ................................ 49 2.2 VM/ESA As a Web Server ............................. 49 2.3 Web Servers for VM/ESA ............................. 50 Chapter 3. VM/ESA Web Server Feature Summary ................ 53 Chapter 4. Webshare . 57 4.1 Introduction . 57 4.1.1 Why Use Webshare? ............................. 57 4.1.2 Webshare Features . 58 4.1.3 About the Author ............................... 59 4.2 Obtaining Webshare . 59 4.3 Getting Started . 60 4.3.1 Obtaining Documentation . 61 4.3.2 Installation Requirements . 62 4.3.3 Installation . 63 4.4 Configuration . 64 4.4.1 Customization . 67 4.4.2 Administration . 68 4.5 Security . 69 4.5.1 INDEX HTML . 69 4.5.2 User Web Spaces ............................... 69 4.5.3 Logging . 70 4.6 Examples . 72 4.6.1 Sample CPQ CGI ............................... 72 4.6.2 Sample CMSHTTPD HTML Script ...................... 74 4.6.3 Imagemap Support . 76 Chapter 5. EnterpriseWeb/VM . 79 5.1 Introduction . 80 5.2 About Beyond Software Inc. ........................... 80 5.3 Obtaining EnterpriseWeb/VM . 81 5.4 Documentation . 81 5.4.1 The Manual . 81 5.4.2 Reference Material . 82 5.4.3 HTML Sourcebook ............................... 83 5.4.4 Sample Code . 83 5.5 Pre-Installation Requirements . 84 5.5.1 Software Requirements . 84 5.5.2 Programmer Skills . 84 5.5.3 Other Requirements . 85 5.6 Installation and Operation ............................. 85 5.6.1 User ID Preparation .............................. 86 5.6.2 Installation Overview . 87 5.6.3 Testing the Installed Product ........................ 88 5.6.4 Number of Server Machines ......................... 88 5.6.5 Server Operation . 88 5.7 Functional Overview . 89 5.7.1 HTML File Walkthrough ........................... 90 5.7.2 Common Gateway Interface ......................... 94 5.8 Configuration . 94 5.8.1 The CONFIG FILE ............................... 95 5.8.2 FILELISTs . 95 5.9 Security . 96 iv Web Server Solutions for VM/ESA 5.9.1 Overview of Security and Its Structure .................. 96 5.9.2 Examples of the Security Access Paths .................. 97 5.9.3 VM′s Security . 99 5.9.4 External Security Managers ......................... 99 5.9.5 Special Security Implications for CGIs ................... 99 5.10 Accessing Other User ID′s Data (″userwebs″) ................ 99 5.11 Logging . 103 5.11.1 Setup . 103 5.11.2 Controlling the Logserver ........................ 104 5.11.3 Controlling the Log Files ......................... 104 5.12 Problem Determination ............................. 104 5.13 New Features . 105 5.13.1 OfficeVision Connection .......................... 105 5.13.2 Remote Configuration . 107 5.14 Summary of Features .............................. 107 Chapter 6. VM:Webgateway . 109 6.1 Introduction . 109 | 6.2 About Sterling Software, Inc. .......................... 110 | 6.3 Obtaining VM:Webgateway . 112 | 6.4 What Comes in the Box for VM:Webgateway ................ 113 | 6.4.1 VM:Webgateway Documentation . 113 | 6.4.2 VM:Webgateway Sample Code ...................... 115 | 6.5 VM:Webgateway Installation . 118 | 6.5.1 VM:Webgateway Software Requirements ................ 119 | 6.5.2 VM:Webgateway Hardware Requirements ............... 119 | 6.5.3 Programmer Skills for VM:Webgateway ................. 120 | 6.5.4 VM:Webgateway Alternate Installation Instructions .......... 120 | 6.6 VM:Webgateway Configuration . 122 | 6.6.1 VM:Webgateway Server Configuration Commands .......... 124 | 6.7 VM:Webgateway Administration . 127 | 6.7.1 VM:Webgateway System Administrator ................. 127 | 6.7.2 VM:Webgateway System Operator .................... 129 | 6.7.3 VM:Webgateway General User ...................... 129 | 6.8 VM:Webgateway Features and Experiences ................. 130 | 6.8.1 General Features of VM:Webgateway .................. 130 | 6.8.2 Multiple VM:Webgateway Servers .................... 131 | 6.8.3 VM:Webgateway′s DIRMAP Files ..................... 133 | 6.8.4 Security in VM:Webgateway ........................ 134 | 6.8.5 VM:Webgateway Logging . 135 | 6.8.6 VM:Webgateway Imagemaps . 137 | 6.8.7 VM:Webgateway CGI Scripts ....................... 137 | 6.8.8 VM:Webgateway Dynamic Worker Machines .............. 140 | 6.8.9 Converting from Webshare to VM:Webgateway ............ 140 | 6.8.10 Client Pull and Server Push with VM:Webgateway .......... 141 6.9 VM:Webserver OfficeVision Interface ..................... 142 | 6.9.1 General Features of VM:Webserver OfficeVision Interface ...... 142 | 6.9.2 VM/OV Calendar Support in VM:Webserver.