← Building and Maintaining an Intranet with the Macintosh 1996

Building and Maintaining an Intranet with the Macintosh 1996

From the originals

13 scans

Machine-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

Building and Maintaining an Intranet with the Macintosh

Hayden Books CD-ROM INCLUDED Serve Mac®, PC, and UNIX® machines on an Intranet with the Macintosh BUILDING AND MAINTAINING AN INTRANET WITH THE MACINTOSH® Tobin Anthony

A book cover with a dark perspective image of a grid-like surface receding into blackness inside a torn-edge frame, a CD-ROM graphic at upper right, and bold black title typography on a white background.

Reading notes: The 'Hayden Books' logo text is small and partly stylized; spelling taken as shown. Trademark symbols (®) after Mac, UNIX and Macintosh are included as printed.

Printed product names
Macintosh
Languages
English
PDF page 1

Building and Maintaining an Intranet with the Macintosh

Hayden Books CD-ROM Included Serve Mac®, PC, and UNIX® machines on an Intranet with the Macintosh BUILDING AND MAINTAINING AN INTRANET WITH THE MACINTOSH® Tobin Anthony

A book cover with a dark, perspective image of a grid-like floor receding into blackness inside a torn-edged frame, a CD-ROM disc icon at upper right, and the Hayden Books logo at upper left on a white background.

Reading notes: Logo text 'Hayden Books' is small and treated as printed publisher branding; reading order follows visual layout from top to bottom. Registered trademark symbols (®) are rendered after Mac, UNIX, and Macintosh as printed.

Printed product names
Macintosh
Languages
English
PDF page 2

Building and Maintaining an Intranet with the Macintosh Tobin Anthony Hayden Books

A book cover with a gray panel containing the large black serif title, the author name in sans-serif type, a Hayden Books logo at lower left, and thin black line and outlined square decorative elements against a white border.

Reading notes: Faint gray body text near the middle of the panel is not legible and was not transcribed.

Languages
English
PDF page 3

Building and Maintaining an Intranet with the Macintosh

Hayden Books Publisher Lyn Blake Publishing Manager Laurie Petrycki Managing Editor Lisa Wilson Marketing Manager Nancy Price Acquisitions Editor Brian Gill Development/Copy Editor Beverly Scherf Technical Editor Tim Webster Publishing Coordinator Rosemary Lewis Cover Designer Karen Ruggles Book Designer Sandra Schroeder Manufacturing Coordinator Brook Farling Production Team Supervisor Laurie Casey Production Team Heather Butler, Kim Cofer, Terrie Deemer, Tricia Plodder, AJeata Howard, Joe Millay, Beth Raga, Erich J. Richter, Christine Tyner, Karen Walsh Indexer Brant Davis Building and Maintaining an Intranet with the Macintosh ©I996 Tobin Anthony 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, 20 I W. I 03rd Street, Indianapolis, Indiana 46290. Library of Congress Catalog Number: 96-75I90 ISBN: I-56830-279-7 Copyright © I996 Hayden Books Printed in the United States of America I 2 3 4 56 7890 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: OCR-style digit substitution: 'I' appears for '1' in dates, ISBN, and catalog number. Street address '20 I W. I 03rd Street' appears garbled and may be misread.

Printed dates
I996 · 96-75I90 · I-56830-279-7 · 20 I W. I 03rd Street · 46290
Languages
English
PDF page 4

About the Author Tobin Anthony holds a Ph.D. in aerospace engineering but has been tinkering with Macintosh computers since the old Mac Plus days. A frothy Mac user, strict vegetarian, devout Roman Catholic, and lapsed private pilot, Tobin spends what little spare time he has with his wife Sharon and three children, Michelle, Austin, and Evan. Tobin works as a spacecraft control systems engineer at NASA's Goddard Space Flight Center in Greenbelt, MD. He has authored several technical articles and also has written extensively in the areas of the Web and CGI scripting. Email and Web stops are welcome at tobin@pobox.com and http://pobox.com-tobin. 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. Dedication To Sharon, the love of my life, thanks for minding the store, shredding my chapters, and just being plain superhuman. Acknowledgments To Jim Minatel, Doshia Stewart, Cheryl Willoughby and the gang at Que, thanks for making this happen. You guys are the greatest. To Brian Gill and the crew at Hayden, thanks for picking up the book and giving me a fantastic team to work with. It was a crazy ride. Here's another priority FcdEx coming at you. To Beverly Scherf, this book would have been a lot less accurate, relevant, interesting, readable, and fun to write without you. Now please buy a newer version of Word!! To Tim Webster, I'm indebted to your hard work, keen insight, and brutally honest technical editing (from which I'm still smarting).

Reading notes: 'FcdEx' in the acknowledgments is likely a misspelling of FedEx Heading for the source text is absent, so headline is null

Printed product names
Macintosh · Mac Plus · Word
Languages
English
PDF page 5

To Mom and Dad, thanks for teaching me to love writing and to have a sense of humor about it. To Zack Crues, thanks for getting me started with all this. To my bosses at NASA, Frank, Marty, Alan, Dave M., and Dave W. (so much for streamlined management), thanks for the support and the time off for me to write this book. To all the software authors who allowed me to discuss and include their precious work in this book, thanks for your cooperation and dedication to the Mac platform. You all write top-notch stuff. To all the Mac Internet digerati, especially Chuck Shotton, Jon Wiederspan, Dave Winer, Peter Lewis, and many others, the quality of your work and contributions has made the Mac a major player in the Internet community. A lot of us would be running a different OS right now if it weren't for you guys. Hayden Books 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 you taking the time to send us a note. You can reach Hayden Books at the following: Hayden Books 20 l West l 03rd Street Indianapolis, IN 46290 Email addresses: America Online: Hayden Bks Internet: hayden@hayden.com Visit the Hayden Books Web site at http:/ /www.hayden.com

Reading notes: Possible line-break or spacing artifacts around 'Hayden Books' address and URL ('http:/ /www.hayden.com')

Languages
English
PDF page 6

Contents at a Glance

Contents at a Glance Introduction ................................................................................ 1 Chapter 1: Intranets-The Next Big Thing ................................. 7 Chapter 2: Wiring Your Intranet ............................................... 25 Chapter 3: Choosing Your Server Hardware ............................. 47 Chapter 4: Macintosh HTTP Servers ........................................ 67 Chapter 5: Managing Your Intranet Web Services ................... 121 Chapter 6: Creating an Efficient Web Site ............................... 139 Chapter 7: Writing CGI Scripts .............................................. 171 Chapter 8: Databases and Document Searches ........................ 231 Chapter 9: Beyond HTML ...................................................... 263 Chapter 10: FTP Services ........................................................ 279 Chapter 11: Email Services ...................................................... 317 Chapter 12: Providing Domain Name Service ......................... 359 Chapter 13: Intranet Server Security ....................................... 385 Chapter 14: Sample Intranet Applications ............................... 401 Chapter 15: Summary ............................................................. 427 Appendix A: What's on the CD- ROM .................................... 429 Appendix B: Establishing an Internet Presence ........................ 431 Appendix C: Perfecting HTML .............................................. 455 Glossary ................................................................................... 507 Index ....................................................................................... 515

Reading notes: Spacing irregularities in some chapter titles and CD-ROM label may reflect extraction artifacts.

Languages
English
PDF page 7

vi Building and Maintaining an Intranet with the Macintosh Table of Contents Introduction 1 What I Already Know about You ............................................. 2 What This Book Is ................................................................ 3 What This Book Is Not ......................................................... 3 Getting the Most Out of This Book ........................................ 4 Conventions ......................................................................... 5 Let's Keep in Touch ................................................................. 6 1 lntranets-The Next Big Thing 7 The Emergence of the Intranet . .. .. .. .. .. .. .. .. .. . .. .. .. .. . .. .. .. .. .. . .. .. .. . 9 Groupware versus Intranets ................................................. 1 0 The Future of Groupware ................................................... 12 Uses for Your Intranet Server ................................................. 13 In-House Documentation Archive ..................................... 13 In-House Software Archive ................................................. 14 Electronic Mail ................................................................... 14 Bulletin Boards ................................................................... 14 Videoconferencing .............................................................. 15 Why the Macintosh? ............................................................... 16 Holding Its Own on the Net .............................................. 16 Advantages of the Mac OS as a WWW Server ...................... 18 When Not to Use a Mac as an Intranet Server .................... 20 Summary ............................................................................... 22 2 Wiring Your Intranet 25 Network Protocols ................................................................. 26 TCP/IP .............................................................................. 26 AppleTalk ........................................................................... 28 Wiring Protocols ................................................................. 30 Connection Hardware ......................................................... 33 Getting Wired on the Inside ................................................... 35 Wiring Schemes .................................................................. 35 Connecting to the Internet .................................................... 38 Getting Your Own Connection .......................................... 39 Using an Internet Service Provider ..................................... 40 Registering Your Nodes ...................................................... 42 Providing Remote Access to Your Intranet ......................... 43

Reading notes: Table of contents entry 'lntranets-The Next Big Thing' uses 'l' where 'I' is likely intended, a probable OCR artifact.

Languages
English
PDF page 8

Contents vii Summary ............................................................................... 45 Links Related to This Chapter ............................................... 45 3 Choosing Your Server Hardware 47 Out-of-the- Box or Off-the-Shelf? .......................................... 48 Using Older Macintosh Computers .................................... 49 Your Server's Bottleneck ..................................................... 50 Deploying Your Hardware .................................................. 52 Macintosh Models Available to You ....................................... 54 The Macintosh Family Tree ................................................. 54 68030/68040 Machines ..................................................... 55 Power Macintosh ................................................................ 55 Apple Internet Server Solutions ... ..... ... .. ... . .... .. ... ... . ..... ... .. . . 56 Macintosh Clones ............................................................... 57 Other Hardware Concerns .................................................. 58 New Macintosh Technology ................................................... 60 The PCI Architecture .......................................................... 61 RAID ................................................................................. 61 Open Transport .................................................................. 61 Unix on the Macintosh .......................................................... 62 Apple Unix ......................................................................... 63 MachTen ............................................................................ 63 Linux .................................................................................. 63 Wh.y Unix? .......................................................................... 64 Summary ............................................................................... 64 Links Related to This Chapter .. .. .. . .. .. . .. . .. .. .. .. . .. ... .. .. .. .. .. .. .. . .. . 65 4 Macintosh HTTP Servers 67 Introducing Terms and Technology ....................................... 68 HyperText Transport Protocol ........................................... 68 MIME ................................................................................ 70 Wh.at You'll Need ................................................................ 72 Using MacHTTP ................................................................... 73 Requirements ...................................................................... 74 Installing MacHTTP ........................................................... 74 Configuring MacHTTP ...................................................... 76 Running Mac HTTP ............................................................ 84 Serving Nonstandard Mac Files .......................................... 87 WebSTAR .............................................................................. 88 Installing WebSTAR ............................................................ 89

Reading notes: Table of contents text contains OCR artifacts such as 'Wh.y' and 'Wh.at' and 'Mac HTTP' spacing, possibly from hyphenation or scanning.

Printed product names
Apple Internet Server Solutions · MachTen · Linux · WebSTAR · MacHTTP · Power Macintosh
Languages
English
PDF page 9

viii Building and Maintaining an Intranet with the Macintosh Setting Up WebSTARAdmin ............................................. 90 Configuring WebSTAR with WebSTAR Admin .................. 93 Using WebSTAR ............................................................... 100 Other WebSTAR Applications .. . .... . .. .. ..... ..... . .... .... . .... . ... . . 102 InterServer Publisher ........................................................... 1 02 Installing InterServer Publisher .. . ...... .. .... .. .... .. ...... .. .... .. ... 102 Using InterServer Publisher Setup .. .. .. . .... .. .... . ....... . ..... . ... . 104 Securing Your Server ......................................................... 106 Maintaining an Access Log .. ... .. ... .. ... .... . ..... .... .... . .... . .... .. .. 109 Administering InterServer Publisher ................................. 112 A Look at InterXTML ...................................................... 113 N etPresenz .......................................................................... 114 httpd4Mac ........................................................................... 114 Installing httpd4Mac ......................................................... 114 Configuring httpd4Mac .................................................... 115 Other Web Servers ............................................................... 117 NetWings Internet Server ................................................. 118 OneSitejWeb ................................................................... 118 Determining Your Server ...................................................... 118 Summary ............................................................................. 119 Links Related to This Chapter ............................................. 120 5 Managing Your Intranet Web Services 121 Managing Web Server Content ........................................... 121 Server Management Models ............................................. 122 Controlling Access ............................................................ 126 Efficient Directory Structure ............................................... 126 Using Relative URLs ........................................................ 126 Organizing Your Directory Structure ............................... 127 Using Aliases ..................................................................... 128 Administrative Tools ............................................................ 129 Spreadsheet-to-HTML Table Conversion ......................... 129 HTML Grinder ................................................................. 130 Clay Basket ....................................................................... 132 Maintaining Server Statistics ............................................. 133 Summary ............................................................................. 135 Links Related to This Chapter . ... .. .... . .... ... ... .. .. .... ... .. ... .. .... .. 136

Reading notes: Source is a table of contents, so no headline or advertised prices are present Page numbers and dot leaders are omitted from the extracted entries

Printed product names
WebSTAR · WebSTAR Admin · InterServer Publisher · InterXTML · httpd4Mac · NetWings Internet Server · OneSitejWeb · Spreadsheet-to-HTML Table Conversion · HTML Grinder · Clay Basket
Languages
English
PDF page 10

Contents ix 6 Creating an Efficient Web Site 139 An Efficient Web Site ........................................................... 140 Maxing Out on HTML ........................................................ 140 Netscape HTML Extensions ............................................ 140 Using Lists Effectively .......................................................... 142 Using Ordered and Unordered Lists ................................ 143 Using Definition Lists ....................................................... 143 Managing List Length ....................................................... 144 Using Tables Effectively ....................................................... 151 Setting Table Borders ........................................................ 151 Using Graphics Effectively ................................................... 152 Using Imagemaps ............................................................. 153 Alternatives to <HR> ........................................................ 155 Using Background and Text Colors .................................. 156 GIF versus JPEG ............................................................... 158 Photographs versus Clip Art .. .. ... .. ... ... .. . .. .. .. .. . .. .. .. .. .. .. .. .. .. 161 Overall Page Design ............................................................. 162 Modularizing Your Pages .................................................. 162 Publishing Online Documentation ................................... 163 Navigation Tips ................................................................ 163 Providing Credit Where Credit Is Due ... .. ... .. .. ...... .. .. . .. .. .. 166 Maintain Fresh Links ......................................................... 166 Tips for Keeping Your Users' Interest .................................. 167 Spotlight People and Organizations .................................. 167 Social Calendars ................................................................ 167 Publishing Cool Links ....................................................... 168 Summary ............................................................................. 168 Links Related to This Chapter . .... ..... . ....... .. .... . .... . ... ..... . .... . . 169 7 Writing CGI Scripts 171 The Common Gateway Interface......................................... 172 Basic Scripting Concepts ................................................... 172 How to Trick a Web Browser ........................................... 174 Using Forms to Talk to the CGI Script ............................. 176 The Macintosh CGI Environment .................................... 180 CGI Variables ................................................................... 181 Macintosh CGI Scripting Languages ................................ 183

Reading notes: Source appears to be a table of contents with dotted leaders and page numbers; no advertised products or prices are present.

Languages
English
PDF page 11

x Building and Maintaining an Intranet with the Macintosh AppleScript .......................................................................... 184 Using the Script Editor ..................................................... 185 Developing CGI Scripts with AppleScript .. . . .. .. .. .. .. .. .. ... .. .. 189 Sample AppleScript CGI Script......................................... 191 Ideas for AppleScript CGI Scripts .. ....... .. .. .. .. .. .. .. .. .. .. .. .. ... . 199 Frontier ............................................................................... 200 Introduction to Frontier ................................................... 201 Developing CGI Scripts with Frontier .............................. 207 Sample Frontier CGI Script .............................................. 210 Frontier versus AppleScript ............................................... 212 Other Frontier Intranet Applications ... . ..... . .... . . .. .... . ..... . ... 214 Additional CGI Scripting Languages .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . . .. . 215 MacPerl ............................................................................ 216 C/C++ ............................................................................. 216 HyperCard ........................................................................ 217 Application Programming Interfaces .. .. .. .. .. . ........ ..... ... .. .. . 217 Server Side Includes ............................................................. 218 InterServer Publisher InterXTML .................................... 218 NetCloak .......................................................................... 220 Tips for Writing CGI Scripts ................................................. 220 Portability ......................................................................... 221 Optimize for Your System's Needs ................................... 221 Using the Script Libraries .................................................. 221 Building Imagemaps ............................................................ 221 How Image maps Work ...................................................... 222 What You'll Need to Build Imagemaps ............................. 222 Creating Imagemaps with WebMap .................................. 224 Using an 'Imagemap CGI Script ....................................... 226 Client-Side Image maps ..................................................... 227 Summary ............................................................................. 228 Links Related to This Chapter .. .. .. .. ... ... .. ... .. .... . .. .... . .. .. .. .. .. .. 228 8 Databases and Document Searches 231 Database Primer ................................................................... 232 Introduction to Databases ................................................. 232 Databases on the Macintosh ............................................. 234 Using Butler SQL ................................................................ 235 Introduction to Butler SQL ............................................. 236 Installing Butler SQL and Tango ...................................... 236 A Brief Butler SQL Primer ............................................... 237 Creating Databases with ButlerTools ................................ 238

Reading notes: Table of contents page numbers are present but may not correspond to a single printed edition. Tango is mentioned only in an installation line and its context is not fully explicit.

Printed product names
AppleScript · Frontier · MacPerl · HyperCard · WebMap · Butler SQL · Tango · ButlerTools · InterServer Publisher InterXTML · NetCloak · Script Editor
Languages
English