Administering and Securing the Apache Server
Ashok Appu WITH NIIT
Copyright 2002 by Premier Press, a division of Course Technology.
All rights reserved. No part of this book may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system without written permission from Premier Press, except for the inclusion of brief quotations in a review.
The Premier Press logo and related trade dress are trademarks of Premier Press, Inc. and may not be used without written permission. All other trademarks are the property of their respective owners.
Apache, Apache Software Foundation, and the various Apache project names are trademarks of the Apache Software Foundation. All other trademarks are the property of their respective owners.
Important: Premier Press cannot provide software support. Please contact the appropriate software manufacturer's technical support line or Web site for assistance.
Premier Press and the author have attempted throughout this book to distinguish proprietary trademarks from descriptive terms by following the capitalization style used by the manufacturer.
Information contained in this book has been obtained by Premier Press from sources believed to be reliable. However, because of the possibility of human or mechanical error by our sources, Premier Press, or others, the Publisher does not guarantee the accuracy, adequacy, or completeness of any information and is not responsible for any errors or omissions or the results obtained from use of such information. Readers should be particularly aware of the fact that the Internet is an ever-changing entity. Some facts may have changed since this book went to press.
ISBN: 1-59200-003-7
Library of Congress Catalog Card Number: 2002106545
Printed in the United States of America
02 03 04 05 BH 10 9 8 7 6 5 4 3 2 1
Premier Press, a division of Course Technology
2645 Erie Avenue, Suite 41
Cincinnati, Ohio 45208
Publisher
Stacy L. Hiquet
Marketing Manager
Heather Hurley
Project Editors
Melba Hopper, Estelle Manticas
Technical Reviewer
NIIT
Copy Editor
Melba Hopper
Interior Layout
Bill Hartman
Cover Design
Phil Velikan
Indexer
Jonna VanHoose Dinse
Acknowledgements
A book is the result of the combined efforts of many. This book is no exception. First of all, I want to thank my mom, dad, and brother, who stood by me regardless of the hectic schedules and odd working hours.
I want to thank Anita Sastry, my project manager, for all the timely advice to ensure smooth execution of the project and for assigning this book to me in the first place! I would also like to thank Shadab Siddiqui, Rashi Gupta, Ashish Wilfred, Nitin Pandey, Meeta Gupta, and Sripriya for providing timely support when I needed it the most.
A big thanks to the editor, Melba Hopper, whose reviews made the book more interesting and pleasurable to read. I would also like to thank Stacy Hiquet, Vineet Whig, and Shantanu Phadnis, without whom I would not have received the opportunity to write this book.
Thanks to Sandip Bhattacharya and Raj Mathur for technical advice and valuable reviews. I really appreciate your patience and effort to make the book better and attain its present form.
Last but not the least, I also want to take the opportunity to thank my friends who bucked me up all through this project. I want to thank Subramani A, Amit Soni, and Sonal Chawla for always being at my side, providing me with all the encouragement and support I needed.
About the Author
Ashok Appu is a holder of an advanced degree in computer applications and has received formal training on all RHCE 7.0 modules (RH033, RH133, and RH253). Ashok works at NIIT. He began his tenure with NIIT by writing instructor led training manuals and then went on to write textbooks.
Ashok is the author of Making Use of PHP and has coauthored Microsoft Commerce Server 2000 Configuration and Administration and contributed to ASP.NET Weekend Crash Course. In addition, he actively provides SME (Subject Matter Expert) support for technologies such as the Linux operating system, TCP/IP, PHP, and network and OS security.
When not writing, Ashok is an active member of the India Linux Users Group Delhi (ILUGD). His hobbies include working out, reading about health and nutrition, playing the guitar, white water rafting, and listening to heavy metal.
About NIIT
NIIT is a Global IT Solutions Corporation with a presence in 38 countries. With its unique business model and technology creation capabilities, NIIT delivers Software and Learning Solutions to more than 1000 clients across the world.
The success of NIIT's training solutions lies in its unique approach to education. NIIT's Knowledge Solutions Business conceives researches and develops all the course material. A rigorous instructional design methodology is followed to create engaging and compelling course content. NIIT has one of the largest learning material development facilities in the world with more than 5000 person years of experience.
NIIT trains over 200,000 executives and learners each year, in Information Technology areas, using Stand-up Training, video-aided instruction, computer-based training (CBT) and Internet-based training (IBT). NIIT has featured in the Guinness Book of World Records for the largest number of learners trained in one year!
NIIT has developed over 10,000 hours of instructor-led training (ILT) and over 3000 hours of Internet-based training and computer-based training. IDC ranked NIIT among the Top 15 IT Training providers globally for the year 2000. Through the innovative use of training methods and its commitment to research and development, NIIT has been in the forefront of computer education and training for the past 20 years.
Quality has been the prime focus at NIIT. Most of the processes are ISO-9001 certified. It was the 12th company in the world to be assessed at Level 5 of SEI-CMM. NIIT's Content (Learning Material) Development facility is the first in the world to be assessed at this highest maturity level. NIIT has strategic partnerships with companies such as Computer Associates, IBM, Microsoft, Oracle, and Sun Microsystems.
This book provides a comprehensive, hands-on approach to administering and securing the Apache Web server. It's written for people who are already familiar with the Linux operating system but who want to learn more about the Apache Web server, which is, by and far, the most popular Web server used on the Linux platform.
The book begins with basic concepts pertinent to the Apache Web server and then moves on to more advanced topics. As a result, both inexperienced and experienced administrators will benefit from reading and working through this book. I designed the book so that concepts related to administering and securing the Apache Web server are discussed simultaneously. The book contains graphics that complement and realistically illustrate the concepts being discussed.
You will find multiple-choice questions that you can use to check your understanding of the concepts discussed in the chapter. The answers are provided, of course!
, "Introducing the Apache Web Server," provides an overview of the Apache Web server. This part begins with basic concepts related to Web servers in general and explains how information is exchanged on the Web. Later in this part you'll learn how to customize your installation of the Apache Web server. Finally, you find a detailed explanation of the Apache configuration file.