Web Server Construction Kit for Macintosh 1996
From the originals
13 scansMachine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.
These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.
Image 1
WEB SERVER CONSTRUCTION KIT FOR MACINTOSH
Hayden Books CD-ROM INCLUDES WEB SERVER SOFTWARE, CGIs, URLs, GRAPHICS AND HTML UTILITIES, AND MORE The Complete Resource for Building and Maintaining a Professional Macintosh Web Server WEB SERVER CONSTRUCTION KIT FOR MACINTOSH® Stewart Buskirk
A book cover with a brown-and-blue textured image of a chain link inside a dark framed border, a compact disc icon at upper right, the Hayden Books logo at upper left, and bold black sans-serif title text across the bottom on a white background.
Reading notes: The Hayden Books logo is a stylized mark rendered as 'Hayden Books' text; the small logo text is treated as printed copy. The CD-ROM callout text is set in small caps and may have slight line-break variations. Stewart Buskirk author name is in italic script at lower left.
- Printed product names
- Web Server Construction Kit for Macintosh
- Languages
- English
PDF page 1
• ~· @ CD-ROM INCLUDES WEB SERVER SOFTWARE, CGis, URLs, GRAPHICS AND HTML UTILITIES, AND MORE The Complete Resource for Building and Maintaining a Professional Macintosh Web Server Stewart Buskirk
Reading notes: Headline is ambiguous: the supplied copy has no clearly dominant title, so headline is null and the subtitle 'The Complete Resource for Building and Maintaining a Professional Macintosh Web Server' is not treated as a headline. Transcript intentionally left empty per instructions; the exact extracted text is preserved separately. Layout and visual details were not verified from the image and are inferred only from the supplied text order. No advertised products, prices, or dates appear in the supplied copy, so those fields are empty.
- Languages
- English
PDF page 2
The image is a entirely blank white page with no visible artwork, layout, or printed content.
PDF page 3
Web Server Construction Kit for the Macintosh
Hayden Books Publisher Lyn Blake Publishing Manager Laurie Petrycki Acquisitions Editor Stacy Kaplan Development Editor Kezia Endsley Technical Editors Tim Webster Bill Doerrfeld Copy Editor Bront Davis Cover Designer Karen Ruggles Book Designer Sandra Schroeder Production Team Supervisor Laurie Casey Production Team Steve Adams Heather Butler Angela Calvert Dan Caparo Kim Cofer George Hanlin Glenn Larsen Joe Millay Erika Millen Erich J. Richter Karen Walsh Suzanne Whitmer Indexers Tim Griffin Bront Davis Web Server Construction Kit for the Macintosh © 1996 Hayden Books All rights reserved. Printed in the United States of America. No part of this book may be used or re- produced in any form or by any means, or stored in a database or retrieval system, without prior written permission of the publisher except in the case of brief quotations embodied in critical articles and reviews. Making copies of any part of this book for any purpose other than your own personal use is a violation of United States copyright laws. For infor- mation, address Hayden Books, 201 W. 103rd Street, Indianapolis, Indiana 46290. Library of Congress Catalog Number: 96-75193 ISBN: 1-56830-271-1 Copyright © 199() Hayden Books Printed in the United States of America 1234567890 Warning and Disclaimer This book is sold as is, without warranty of any kind, either express or implied. While every precau- tion has been taken in the preparation of this book, the authors and Hayden Books assume no responsi- bility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information or instructions contained herein. It is further stated that the publisher and authors are not responsible for any damage or loss to your data or your equipment that results directly or indirectly from your use of this book.
Reading notes: Copyright year printed as '199()' may be an OCR error for 1996 or 1990.
- Printed product names
- Web Server Construction Kit for the Macintosh
- Printed dates
- 1996 · 199() · 96-75193
- Languages
- English
PDF page 4
Dedication To my wife, Kathy Ann Baker, whose amazing skills at life and love created this writer and enabled this book. Acknowledgments Very special thanks are due to Uwe Willenbacher and Rad Proc- tor, who gave so freely of their encouragement, time, and re- sources that I could not help but finish this book, if only to please them. Michael Martin provided both the Mac on which this book was written and an insight into technology and life that influenced each and every page. Bill Doerrfeld and Tim Webster, both accomplished Mac devel- opers in their own rights, are due kudos for managing to correct my mistakes and omissions with such good grace, humor, and expertise. Much of this book grew directly out of their sugges- tions. Stacey Kaplan took a gamble on an untested writer, while Kezia Endsley had the courage and skill to guide a new author through the book writing process and offer the discipline, encourage- ment, and patience he needed in exactly the correct amounts. And a lifetime of belly rubs are due to Moon Goddess, Boy, and Cissy for knowing how to purr just when I needed to hear it.
- Languages
- English
PDF page 5
About the Author Stewart Buskirk lives in Pittsburgh, Pennsylvania, about two miles from the birthplace of the Lycos Web catalog, with his wife, three cats, two Macs, and a terribly abused coftee machine. Stewart has been developing database applications on the Mac for both the commercial and academic communities since 1987, picking up a B.S. in Molecular Biology along the way, and managing Macintosh- based Web servers for a variety of clients across North America since 1994. Today, Stewart develops Web projects for Proctor-Willenbacher, a San Francisco Internet services consulting firm, while assisting with ongoing research at Carnegie Mellon University into the effects of Internet usage on social behavior. Trademark Acknowledgments All terms mentioned in this book that are known to be trademarks or services marks have been appropriately capitalized. Hayden Books cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. Macintosh is a registered trademark of Apple Computer, Inc. The WebSTAR logo is a trademark of StarNine Technologies, Inc. The staff of Hayden Books is committed to bringing you the best computer books. What our readers think of Hayden is important to our ability to serve our customers. If you have any comments, no matter how great or how small, we'd appreciate your taking the time to send us a note. You can reach Hayden Books at the following: Hayden Books 201 West l03rd Street Indianapolis, IN 46290 (800) 428-5331 voice (800) 448-3804 fax Email addresses: America Online: Hayden Bks Internet: hayden@hayden.com Visit the Hayden Books Web site at http://www. hayden .com
Reading notes: OCR-style spacing and character errors such as 'coftee' and 'l03rd' appear in the source copy.
- Printed product names
- Macintosh · WebSTAR
- Printed dates
- 1987 · 1994
- Languages
- English
PDF page 6
Contents at a Glance
Contents at a Glance Introduction Part I From Surfer to Server Chapter I : Making the Transition .. .. . .. .. . . . ... .. . . .. .. . .. ...... . .... .. .. . . .. II Chapter 2: WWW Client/Server: The Short Course ................. 25 Chapter 3: Me and My (Internet) Shadow ................................ 39 Chapter 4: "Jacking In" ............................................................ 57 Chapter 5: The Show Begins-Choosing a Server ..................... 89 Part II How May I Serve You? Chapter 6: Serving from Storage ............................................. I23 Chapter 7: When a Disk Is Not Enough: CGI Applications and Usage ............................................................................ I37 Chapter 8: Advanced Techniques ............................................ I6I Part Ill Site Administration Chapter 9: Serving by the Numbers: Statistics and Usage ........ I93 Chapter IO: Security ................................................................ 2I5 Chapter II: Advanced Server Management ............................. 23I Chapter I2: Not Another Audit! ............................................ 243 Chapter I3: Walkaway Serving................................................ 265 Chapter I4: My Other Ferrari Is a Mac: Performance Issues .............................................................. 29I Chapter IS: To Market You Go: Promoting Your Site ............. 309 Chapter I6: Coming Attractions ............................................. 33I Part IV Appendixes Appendix A: Internet Troubleshooting .. .. .. .. .. . .. ... .. .. .. .. .. .. .. .. .. . 34I Appendix B: Glossary .............................................................. 352 Index ....................................................................................... 365
Reading notes: Chapter and page numbers contain OCR-style irregular characters (e.g., 'I23', 'IO', 'I6I') that may be misread digits.
- Languages
- English
PDF page 7
Table of Contents
Table of Contents Introduction 1 Assumptions about the Readers ............................................... 2 Accuracy .................................................................................. 3 Conventions ............................................................................ 4 About the CD .......................................................................... 6 About the Web Site .................................................................. 8 Part I: From Surfer to Server 1 Making the Transition 11 Cowabunga, Web Serving! ..................................................... 12 Making a List, Clicking It Twice .. . .. .. .... ... ... .. .... . .... .. . ..... . .... . . 15 Your Statement of Purpose .................................................. 15 Resources and Commitment .............................................. 16 Considering Form and Function ........................................ 20 Ten Elements of Professional Site Management ..................... 21 Summary ............................................................................... 23 2 WWW Client/Server: The Short Course 25 The Client ............................................................................. 26 Graphical Clients ................................................................. 27 The URL ............................................................................... 30 Protocol .............................................................................. 31 Host ................................................................................... 31 Port .................................................................................... 32 Path .................................................................................... 32 Arguments .......................................................................... 33 Escape Codes ...................................................................... 34 The Network ......................................................................... 35 The Server ............................................................................. 3 5 CGis ...................................................................................... 36 Summary ............................................................................... 38 3 Me and My (Internet) Shadow 39 Basic Concepts ....................................................................... 40 Packets ............................................................................... 40 Nodes ................................................................................. 40 Networks ............................................................................ 40
Reading notes: Page numbers and table-of-contents leaders are present; reading order of excerpt is sequential but truncated at the end.
- Languages
- English
PDF page 8
viii Web Server Construction Kit Routers ............................................................................... 41 Protocols ............................................................................... 42 Physical Network ................................................................ 42 Internet Protocol ................................................................ 43 Domain Name System ......................................................... 46 Transmission Control Protocol ........................................... 46 Universal Datagram Protocol ............................................. 49 HTTP ...................................... , .......................................... 50 Secure Sockets I..ayer ........................................................... 51 Other TCP /IP Protocols .................................................... 51 Putting It All Together ........................................................... 52 Resources ............................................................................... 53 Summary ................... , ........................................................... 55 4 "Jacking In" 57 The Internet Connection ....................................................... 57 Your LAN .............................................................................. 68 The Telephone Company ....................................................... 59 Internet Service Providers ...................................................... 59 The Connection to the ISP .................................................... 60 Modems and Dialup Lines .................................................. 62 ISDN .................................................................................. 63 Frame- Relay versus Leased Lines .. ... .. .. .. .. .. . . .. .. . .. . .. .. . .. .. . .. ... 65 56K Service Connection ...................................................... 66 T1s and Beyond .................................................................. 67 Single-Server Options ......................................................... 68 Estimating Your Bandwidth Needs ........................................ 69 Choosing an Access Provider .................................................. 71 Finding Local Access Providers .. . .. .. .. ... .. . .. .. .. .. ... ... .. .. . .. .. .. .. . 72 Comparing Providers .......................................................... 72 Selecting and Registering a Domain Name ............................ 77 Choosing a Good Domain Name ....................................... 77 Registering a New Domain Name ...................................... 80 Summary ............................................................................... 88 5 The Show Begins-Choosing a Server 89 Testing Servers ....................................................................... 89 Net-Connected ................................................................... 90 On a Single Machine ........................................................... 91
Reading notes: Table of contents with OCR-like spacing and punctuation artifacts (e.g., 'I..ayer' for 'Layer', 'Your LAN ... 68' ordering inconsistencies) Page-number and dot-leader columns are jumbled, making some chapter-page associations uncertain
- Languages
- English
PDF page 9
Contents ix Choosing a Server .................................................................. 95 WebSTAR/MacHTIP/Commerce Toolkit ........................ 96 InterServer Publisher ........................................................ 100 Web Server 4D ................................................................. 104 NetWings ......................................................................... 107 Non-Commercial HTIP Servers ...................................... 110 Coming Soon ................................................................... 112 Securing Your Server ............................................................ 114 Upgrading Your Site ............................................................ 114 Distributed Sites ............................................................... 115 Server Arrays ( RAI Cs) ....................................................... 115 Summary ............................................................................. 119 Part II: How May I Serve You? 6 Serving from Storage 123 Creating Content ................................................................. 123 HTML Compatibility ........................................................ 124 HTML Editors ................................................................. 126 Converting to HTML ....................................................... 128 Serving Files ........................................................................ 131 All about MIME ............................................................... 131 Suffix Mapping ................................................................. 132 Filenames .......................................................................... 133 Which Fork Was That Again? .. . .. ... .. .. .. .. .. .. .. .. .. .. .... ... .. .... .. 134 Content Management .......................................................... 135 Summary ............................................................................. 135 7 When a Disk Is Not Enough: CGI Applications and Usage 137 How CGis Work .................................................................. 138 Apple Events and CGis ..................................................... 139 Overview .......................................................................... 140 CGI Response Types ......................................................... 141 Using CGis ......................................................................... 142 Intermediary CGis ............................................................ 143 Synchronous and Asynchronous CGis .. .. .. .. .. .. .. ... .. .. .. ... .. .. 143 RAM Requirements .......................................................... 145
Reading notes: Table of contents layout and page numbering are ambiguous in the extracted copy Possible OCR spacing artifact in 'Server Arrays (RAICs)' rendered as 'RAI Cs'
- Printed product names
- WebSTAR · MacHTIP · Commerce Toolkit · InterServer Publisher · Web Server 4D · NetWings · HTML · 4D
- Languages
- English
PDF page 10
Web Server Construction Kit
/ X Web Server Construction Kit Processing Time ................................................................ 145 Sending Information to CGis .. .. .. ... ... .. ... .. ... . ........... .. . ..... . 145 CGis in Action ..................................................................... 147 Imagemaps ....................................................................... 148 Dynamic HTML ............................................................... 150 Chat Forums/Discussion Groups ..................................... 152 Email Gateways ................................................................. 154 File Indexing and Searching ... .. .... . ...... . ..... . ... .. ... .... . .... . ... . 15 5 Database Connections ....................................................... 15 7 Troubleshooting CGis ......................................................... 158 Server Reports "Timeout" Errors ..................................... 158 CGI or Server Crashes Unpredictably When Busy ............ 158 CGI Responses Are Sent Back to the Wrong Client .......... 159 Server Seems to "Hang" Temporarily When a CGI Is Called ...................................................... 159 CGis versus Built-Ins ........................................................... 159 Summary ............................................................................. 160 8 Advanced Techniques 161 Rolling Your Own ................................................................ 161 Programming/Scripting Environments ............................ 161 Other CGI Development Environments ........................... 167 CGI Development Reference .............................................. 169 What Goes In ................................................................... 169 What Goes Out ................................................................. 174 Database Connectivity .......................................................... 177 Characteristics of a Good Database CGI .. .. .. .. .. .. .. .. .. .. .. .. .. . 178 Butler ............................................................................... 180 4DjNetLink ..................................................................... 181 FileMaker Pro ................................................................... 182 FoxPro ............................................................................. 183 Online Commerce ............................................................... 183 MacAuthorize ................................................................... 184 First Virtual ...................................................................... 18 5 WebSTAR Commerce Toolkit .......................................... 186 Web Commerce Solution .................................................. 187 Other Transaction Methods ............................................. 187 Encryption and Credit Cards ............................................ 187 Summary ............................................................................. 189
Reading notes: Table of contents formatting contains irregular spacing and page-number alignment, which may affect reading order.
- Printed product names
- WebSTAR Commerce Toolkit · MacAuthorize · Butler · 4DjNetLink · FileMaker Pro · FoxPro · First Virtual · Web Commerce Solution
- Languages
- English
PDF page 11
Contents xi Part Ill: Site Administration 9 Serving by the Numbers: Statistics and Usage 193 Why Do You Want to Know? .............................................. 193 Improving Service ............................................................. 194 Reporting ......................................................................... 194 Site Management .............................................................. 194 Lies, Damn Lies, and Hit Counts ........................................ 195 Client Caching .................................................................. 196 Caching Proxy Servers ...................................................... 196 Collecting Information ........................................................ 197 You Are the 5,629th Reader ofThis Page ......................... 198 Server Logging ................................................................. 200 Analyzing Logs .................................................................... 205 Log Analysis Software ....................................................... 205 Databases .......................................................................... 207 Spreadsheets ..................................................................... 208 Advanced Usage Tracking .................................................... 209 Session Statistics ................................................................ 209 Marketing Information ..................................................... 212 Summary ............................................................................. 213 10 Security 215 Background ......................................................................... 216 Single-User System ........................................................... 217 Security Trade-Off ............................................................ 217 Physical Security ................................................................... 217 Nernrork Security ................................................................. 219 Access Control .................................................................. 220 URL Abuse ....................................................................... 221 Other Internet Services ..................................................... 224 Denial of Service Attacks ................................................... 224 Firewalls ........................................................................... 225 SSL and Secure Transactions ... .. .. .. .. .. .. .. .. .. . . .. .. .. .. .. . .. .. .. .. .. 226 Summary ............................................................................. 229 11 Advanced Server Management 231 Integrating Other Internet Services ..................................... 231 Email Services ................................................................... 231
Reading notes: No primary heading is identifiable; the source is a table of contents. Page numbers and some section names are formatted with irregular spacing and may reflect OCR artifacts.
- Languages
- English