O'Reilly Apache Definitive.pdf

(2886 KB) Pobierz
99129017 UNPDF
Apache
The Definitive Guide
99129017.002.png
99129017.003.png
Apache
The Definitive Guide
Second Edition
Ben Laurie and Peter Laurie
Beijing Cambridge Farnham Köln Paris Sebastopol Taipei Tokyo
99129017.004.png
Apache: The Definitive Guide, Second Edition
by Ben Laurie and Peter Laurie
Copyright © 1999, 1997 Ben Laurie and Peter Laurie. All rights reserved.
The Apache Quick Reference Card is Copyright © 1999, 1998 Andrew Ford.
Printed in the United States of America.
Published by O’Reilly & Associates, Inc., 101 Morris Street, Sebastopol, CA 95472.
Editor: Robert Denn
Production Editor: Madeleine Newell
Printing History:
March 1997:
First Edition.
February 1999:
Second Edition.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered
trademarks of O’Reilly & Associates, Inc. The association between the image of an Appaloosa
horse and the topic of Apache is a trademark of O’Reilly & Associates, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are
claimed as trademarks. Where those designations appear in this book, and O’Reilly &
Associates, Inc. was aware of a trademark claim, the designations have been printed in caps
or initial caps.
While every precaution has been taken in the preparation of this book, the publisher assumes
no responsibility for errors or omissions, or for damages resulting from the use of the
information contained herein.
ISBN: 1-56592-528-9
[12/99]
[M]
 
Table of Contents
Preface ..................................................................................................................... ix
1. Getting Started ............................................................................................ 1
How Does Apache Work? ............................................................................... 3
What to Know About TCP/IP .......................................................................... 5
How Does Apache Use TCP/IP? ..................................................................... 7
What the Client Does ....................................................................................... 9
What Happens at the Server End? ................................................................. 11
Which Unix? ................................................................................................... 12
Which Apache? ............................................................................................... 13
Making Apache Under Unix .......................................................................... 13
Apache Under Windows ................................................................................ 23
Apache Under BS2000/OSD and AS/400 ...................................................... 25
2. Our First Web Site ................................................................................... 26
What Is a Web Site? ....................................................................................... 26
Apache’s Flags ................................................................................................ 27
site.toddle ....................................................................................................... 28
Setting Up a Unix Server ............................................................................... 29
Setting Up a Win32 Server ............................................................................. 39
3. Toward a Real Web Site ........................................................................ 43
More and Better Web Sites: site.simple ........................................................ 43
Butterthlies, Inc., Gets Going ........................................................................ 46
Block Directives ............................................................................................. 49
Other Directives ............................................................................................. 52
v
Apache: The Definitive Guide, Second Edition, eMatter Edition
Copyright © 1999 Ben Laurie and Peter Laurie. All rights reserved.
99129017.001.png
Zgłoś jeśli naruszono regulamin