ebook img

Apache Server 2 bible PDF

793 Pages·2010·3.46 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Apache Server 2 bible

4821-2 cover 2/6/02 9:20 AM Page 1 If Apache Server 2 can do it, you can do it too . . . 100% 100% “Kabir has done it again! The Apache Server 2 Bible is an invaluable reference for both beginning Updated for the latest Apache release and packed with real-world examples, this all-in-one reference shows you and experienced administrators.” step by step how to take full advantage of Apache Server — and create a Web site that’s fast, secure, and C O M P R E H E N S I V E ONE HUNDRED PERCENT — Elizabeth Zinkann, Sys AdminMagazine Contributing Editor and Review Columnist easy to maintain. Bestselling author Mohammed Kabir offers complete guidance on every detail of Apache COMPREHENSIVE AUTHORITATIVE implementation, from installation and configuration to Web site administration, server-side applications, security, AA WHAT YOU NEED and performance tuning. Whether you’re a novice Web administrator or an Apache veteran, this is the only book ONE HUNDRED PERCENT you need to harness the power of the world’s leading Web server. pp Configure Apache Inside, You’ll Find Complete Coverage of Apache Server 2 aa Server for a • Master source compilation and binary installation Linux/Unix or Createaninteractive cc • Customize Apache to match your system Web site using JSP Win32 system hh servelets, CGI, and • Create and manage virtual Web sites with Apache mod_perl scripts Leverage Apache ee using SSI, CGI, PHP, • Monitor server performance with a log analyzer package Perl, and Java • Set up an Apache-based proxy server SS servlets • Create a Web cycle involving development, testing, and production systems Configureyour Web servers for reliability and security ee Secure your site • Turbocharge Web interactivity with FastCGI, PHP, Perl, and Java servlets using SSL, certificate- rr • Secure Apache with Apache SSL and your own Certificate Authority signing services, Front-end Network 207.183.233.17 207.183.233.17 • Configure Apache for Win32 systems Request Load Balancer Load Balancer vv and other tools • Create a high-availability Web network using Apache Switch ee AA www.[1-N].domain.com Web Server Farm rr ppaacchhee SSeerrvveerr 22 CD-ROM features: Back-end Network 192.168.1.1 192.168.1.1 22 •Apache Web Server Load Balancer Load Balancer •PHP, Perl, mod_ perl, MySQL, and other open source tools for dynamic Web pages Switch •OpenSSL and ApacheSSL security software KABIR •Plus all sample code from the book and more Application Server Farm Database Server Farm Bible w w w . h u n g r y m i n d s . c o m System Requirements: $49.99 USA Reader Level: Shelving Category: Pentium-class PC running Windows 9X/2000/Me $74.99 Canada Beginning to Advanced Networking/Internet and XP; Linux; or Unix; CD-ROM drive. £39.99 UK incl. VAT Apache, PHP, See About the CD Appendix for details. Perl, and more on CD-ROM! ISBN 0-7645-4821-2 *85555-AHHDHj ,!7IA7G4-feicbf!:p;o;t;T;T BONUS CD-ROM! Apache, PHP, Perl, Mohammed J. Kabir Tomcat, MySQL, and more Author of Red Hat Linux Server a4821-2 FM.F 2/22/02 10:09 AM Page i Apache Server 2 Bible a4821-2 FM.F 2/22/02 10:09 AM Page ii a4821-2 FM.F 2/22/02 10:09 AM Page iii Apache Server 2 Bible Mohammed J. Kabir Best-Selling Books • Digital Downloads • e-Books • Answer Networks • e-Newsletters • Branded Web Sites • e-Learning New York, NY✦Cleveland, OH ✦Indianapolis, IN a4821-2 FM.F 2/22/02 10:09 AM Page iv Apache Server 2 Bible Published by Hungry Minds, Inc. 909 Third Avenue New York, NY 10022 www.hungryminds.com Copyright © 2002 Hungry Minds, Inc. All rights reserved. No part of this book, including interior design, cover design, and icons, may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording, or otherwise) without the prior written permission of the publisher. Library of Congress Control Number: 2001092889 ISBN: 0-7645-4821-2 Printed in the United States of America 10 9 8 7 6 5 4 3 2 1 1B/RT/QT/QS/IN Distributed in the United States by Hungry Minds, Inc. Distributed by CDG Books Canada Inc. for Canada; by Transworld Publishers Limited in the United Kingdom; by IDG Norge Books for Norway; by IDG Sweden Books for Sweden; by IDG Books Australia Publishing Corporation Pty. Ltd. for Australia and New Zealand; by TransQuest Publishers Pte Ltd. for Singapore, Malaysia, Thailand, Indonesia, and Hong Kong; by Gotop Information Inc. for Taiwan; by ICG Muse, Inc. for Japan; by Intersoft for South Africa; by Eyrolles for France; by International Thomson Publishing for Germany, Austria, and Switzerland; by Distribuidora Cuspide for Argentina; by LR International for Brazil; by Galileo Libros for Chile; by Ediciones ZETA S.C.R. Ltda. for Peru; by WS Computer Publishing Corporation, Inc., for the Philippines; by Contemporanea de Ediciones for Venezuela; by Express Computer Distributors for the Caribbean and West Indies; by Micronesia Media Distributor, Inc. for Micronesia; by Chips Computadoras S.A. de C.V. for Mexico; by Editorial Norma de Panama S.A. for Panama; by American Bookshops for Finland. For general information on Hungry Minds’ products and services please contact our Customer Care department within the U.S. at 800-762-2974, outside the U.S. at 317-572-3993 or fax 317-572-4002. For sales inquiries and reseller information, including discounts, premium and bulk quantity sales, and foreign-language translations, please contact our Customer Care department at 800-434-3422, fax 317-572-4002 or write to Hungry Minds, Inc., Attn: Customer Care Department, 10475 Crosspoint Boulevard, Indianapolis, IN 46256. For information on licensing foreign or domestic rights, please contact our Sub-Rights Customer Care department at 212-884-5000. For information on using Hungry Minds’ products and services in the classroom or for ordering examination copies, please contact our Educational Sales department at 800-434-2086 or fax 317-572-4005. For press review copies, author interviews, or other publicity information, please contact our Public Relations department at 317-572-3168 or fax 317-572-4168. For authorization to photocopy items for corporate, personal, or educational use, please contact Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, or fax 978-750-4470. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND AUTHOR HAVE USED THEIR BEST EFFORTS IN PREPARING THIS BOOK. THE PUBLISHER AND AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS BOOK AND SPECIFICALLY DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. THERE ARE NO WARRANTIES WHICH EXTEND BEYOND THE DESCRIPTIONS CONTAINED IN THIS PARAGRAPH. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES REPRESENTATIVES OR WRITTEN SALES MATERIALS. THE ACCURACY AND COMPLETENESS OF THE INFORMATION PROVIDED HEREIN AND THE OPINIONS STATED HEREIN ARE NOT GUARANTEED OR WARRANTED TO PRODUCE ANY PARTICULAR RESULTS, AND THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY INDIVIDUAL. NEITHER THE PUBLISHER NOR AUTHOR SHALL BE LIABLE FOR ANY LOSS OF PROFIT OR ANY OTHER COMMERCIAL DAMAGES, INCLUDING BUT NOT LIMITED TO SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR OTHER DAMAGES. Trademarks:Bible and Hungry Minds are trademarks or registered trademarks of Hungry Minds, Inc. All other trademarks are the property of their respective owners. Hungry Minds, Inc., is not associated with any product or vendor mentioned in this book. is a trademark of Hungry Minds, Inc. a4821-2 FM.F 2/22/02 10:09 AM Page v Credits Acquisitions Editor Graphics and Production Specialists Terri Varveris Beth Brooks Melanie DesJardins Project Editor Joyce Haughey James H. Russell Betty Schulte Jeremey Unger Technical Editor Gregory W. Stephens Quality Control Technicians Laura Albert Copy Editor John Greenough Richard H. Adin Andy Hollandbeck Angel Perez Editorial Managers Kyle Looper Media Development Specialist Ami Frank Sullivan Travis Silvers Vice President & Executive Illustrator Group Publisher Kate Shaw Richard Swadley Proofreading and Indexing Vice President & Group Publisher TECHBOOKS Production Services Bob Ipsen Cover Image Editorial Director Kate Shaw Mary Bednarek Project Coordinator Regina Snyder a4821-2 FM.F 2/22/02 10:09 AM Page vi About the Author Mohammed Kabir is the founder and CEO of Evoknow, Inc. His company specializes in CRM software development. When he is not busy managing software projects or writing books, he enjoys traveling. Kabir studied computer engineering at California State University, Sacramento. He can be reached at [email protected]. a4821-2 FM.F 2/22/02 10:09 AM Page vii To the memory of my mother, Nazma Bathen. a4821-2 FM.F 2/22/02 10:09 AM Page viii a4821-2 FM.F 2/22/02 10:09 AM Page ix Preface W elcome to Apache Server 2.0. Chances are that you already have heard about Apache server. In fact, more than 60 percent of all Web administra- tors use Apache. Apache is the most powerful, open-source, Web-server platform in the world. As a practicing Web developer, researcher, and administrator, I find Apache to be the perfect fit for most Web sites. Apache 2.0 is a major revision of Apache server. Apache Group originally created a highly configurable Web server in the first ver- sion, which became popular very fast; in version 2, Apache Group focused on scala- bility, reliability, and performance. Major code revisions were done to create a very scalable Apache architecture. Today, Apache stands tall as the most widely used Web platform. Every day an increasing number of corporations accept this open-source marvel into their IT infrastructure. Many large IT companies, such as IBM, have embraced Apache in their product offerings. The future of Apache looks great. Whether you’re new to Apache or are already a practicing Apache administrator, now is the perfect time to get started with Apache 2.0. This book will help you do just that. How This Book Is Organized The book has six parts. Very short descriptions of each part follow. Part I: Getting Started With a brief introduction to the world’s number one Web server, in this part I guide you through the process of obtaining and compiling Apache. I show you how to get Apache up and running with minimal changes to the default configuration files so that you can get Apache up and running on your system as quickly as possible. This part ends with complete references to the Apache core directives and standard modules so that you can get ready for serious Apache administration tasks.

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.