| |
| |
Acknowledgments | |
| |
| |
Introduction | |
| |
| |
| |
Installing Apache | |
| |
| |
| |
History and Background of Apache | |
| |
| |
What Is Apache? | |
| |
| |
Development and History of the Apache Project | |
| |
| |
Open Source Software | |
| |
| |
How Apache Works | |
| |
| |
Features of Apache 2.0 | |
| |
| |
Summary | |
| |
| |
| |
Preparing for Apache | |
| |
| |
Locating and Downloading Apache | |
| |
| |
Preparing the Web Server Machine | |
| |
| |
Identifying and Removing Prior Servers | |
| |
| |
Using Apache with Unix | |
| |
| |
Upgrading from Earlier Versions of Apache | |
| |
| |
Identifying Previous Apache Installations | |
| |
| |
Should You Upgrade? | |
| |
| |
Summary | |
| |
| |
| |
Installing Apache | |
| |
| |
Installing Apache from Binaries | |
| |
| |
Installing Apache from Source Code | |
| |
| |
Summary | |
| |
| |
| |
Running a Heterogeneous Network | |
| |
| |
Samba for Windows Users | |
| |
| |
netatalk for Macintosh Users | |
| |
| |
When You Run Multiple Flavors of Unix | |
| |
| |
Summary | |
| |
| |
| |
Apache Modules | |
| |
| |
How Apache Modules Work | |
| |
| |
The Default Modules | |
| |
| |
Locating Modules Not Included with Basic Packages | |
| |
| |
Installing Modules | |
| |
| |
Summary | |
| |
| |
| |
Configuring and Running Apache | |
| |
| |
| |
Configuring and Testing Apache | |
| |
| |
The Apache Configuration Files | |
| |
| |
Configuring Apache for Unix | |
| |
| |
Configuring Apache for Windows | |
| |
| |
The apachect1 Utility | |
| |
| |
Summary | |
| |
| |
| |
Managing the Apache Server | |
| |
| |
Controlling Apache with Direct Commands | |
| |
| |
Using apachect1 | |
| |
| |
Starting Apache Automatically At System Boot | |
| |
| |
Defining the File System | |
| |
| |
Summary | |
| |
| |
| |
Dealing with Innovation (mod_perl: A Case Study) | |
| |
| |
When to Use a New Idea | |
| |
| |
Finding New Modules and Shortcuts | |
| |
| |
The mod_perl Module | |
| |
| |
Security Versus Innovation | |
| |
| |
Summary | |
| |
| |
| |
Apache Administration | |
| |
| |
| |
Logs | |
| |
| |
Apache Logs | |
| |
| |
Finding the Logs | |
| |
| |
How to Read Logs | |
| |
| |
Configuring Logs | |
| |
| |
The mod_log_config Module | |
| |
| |
Useful Log Tricks | |
| |
| |
Summary | |
| |
| |
| |
Disk Management | |
| |
| |
File system Management | |
| |
| |
Disk Partitions | |
| |
| |
Moving Content | |
| |
| |
Disk Quotas | |
| |
| |
File and Directory Permissions | |
| |
| |
Summary | |
| |
| |
| |
Performance Tuning | |
| |
| |
Why Tune? | |
| |
| |
Streamlining Your Apache Installation | |
| |
| |
Unnecessary Modules | |
| |
| |
Load Balancing | |
| |
| |
Tracking Site Use | |
| |
| |
Summary | |
| |
| |
| |
Dealing with Users | |
| |
| |
The Human Side of Administration | |
| |
| |
Setting Quotas | |
| |
| |
Setting Policies | |
| |
| |
Unix User Management | |
| |
| |
Summary | |
| |
| |
| |
Serving Compliant HTML | |
| |
| |
What Is the World Wide Web Consortium? | |
| |
| |
HTML Standards | |
| |
| |
Setting Appropriate Server Policies | |
| |
| |
Summary | |
| |
| |
| |
Beyond the Basics: Advanced Apache Topics | |
| |
| |
| |
MIME and Other Encoding | |
| |
| |
What Is MIME? | |
| |
| |
MIME Types and Apache Configuration | |
| |
| |
Character Sets | |
| |
| |
Summary | |
| |
| |
| |
CGI: The Common Gateway Interface | |
| |
| |
The Common Gateway Interface | |
| |
| |
CGI and Apache | |
| |
| |
Obtaining CGI Scripts | |
| |
| |
Uses for CGI on Your Site | |
| |
| |
CGI and Security | |
| |
| |
Writing Your Own CGI Scripts | |
| |
| |
Summary | |
| |
| |
| |
Image Maps | |
| |
| |
Web Navigation | |
| |
| |
Constructing Image Maps | |
| |
| |
Enabling Image Maps | |
| |
| |
Serving Image Maps: mod_imap | |
| |
| |
Maintaining Accessibility | |
| |
| |
Summary | |
| |
| |
| |
Using Apache to Save Time: SSI and CSS | |
| |
| |
Server Side Includes | |
| |
| |
Configuring SSI | |
| |
| |
Working with SSI Variables | |
| |
| |
SSI Commands | |
| |
| |
Cascading Style Sheets | |
| |
| |
Making Web Pages Accessible | |
| |
| |
Summary | |
| |
| |
| |
Virtual Domain Hosting | |
| |
| |
Virtual Domains | |
| |
| |
Should You Host Virtual Domains? | |
| |
| |
Working with the Domain Name Server | |
| |
| |
Configuring Virtual Domains | |
| |
| |
Virtual Domain Services: E-Mail | |
| |
| |
Summary | |
| |
| |
| |
E-Commerce | |
| |
| |
What Is E-Commerce, Anyway? | |
| |
| |
Security and E-Commerce | |
| |
| |
Adding E-Commerce Elements to Your Site | |
| |
| |
Choosing an E-Commerce Provider | |
| |
| |
Summary | |
| |
| |
| |
Security and Apache | |
| |
| |
| |
Basic Security Concerns | |
| |
| |
Security Self-Evaluation | |
| |
| |
Access | |
| |
| |
Availability | |
| |
| |
Resources | |
| |
| |
Software and Practices for Secure Operation | |
| |
| |
Summary | |
| |
| |
| |
What to Do If You Get Cracked | |
| |
| |
Noticing the Crack | |
| |
| |
Finding and Fixing Vulnerabilities | |
| |
| |
Preventive Measures | |
| |
| |
Security Breach Checklists | |
| |
| |
Summary | |
| |
| |
| |
SSL: The Secure Socket Layer | |
| |
| |
What Is SSL? | |
| |
| |
How SSL Works with Apache | |
| |
| |
Using SSL as a Module | |
| |
| |
Summary | |
| |
| |
| |
Firewalls and Proxies | |
| |
| |
What Is a Firewall? | |
| |
| |
Choosing a Firewall | |
| |
| |
Firewall Structures | |
| |
| |
Administering a Firewall | |
| |
| |
What Is a Proxy? | |
| |
| |
Choosing and Compiling a Proxy Package | |
| |
| |
Configuring a SOCKS Proxy | |
| |
| |
The mod_proxy Module | |
| |
| |
Summary | |
| |
| |
| |
Appendices | |
| |
| |
| |
Internet Resources | |
| |
| |
Web Sites | |
| |
| |
Newsgroups | |
| |
| |
Mailing Lists | |
| |
| |
Getting Involved with the Apache Community | |
| |
| |
Related Resources | |
| |
| |
| |
Using a Unix Text Editor | |
| |
| |
GNU Emacs | |
| |
| |
pico | |
| |
| |
Summary | |
| |
| |
| |
Glossary | |
| |
| |
A | |
| |
| |
B | |
| |
| |
C | |
| |
| |
D | |
| |
| |
E | |
| |
| |
F | |
| |
| |
G | |
| |
| |
H | |
| |
| |
I | |
| |
| |
L | |
| |
| |
M | |
| |
| |
N | |
| |
| |
O | |
| |
| |
P | |
| |
| |
Q | |
| |
| |
R | |
| |
| |
S | |
| |
| |
T | |
| |
| |
U | |
| |
| |
V | |
| |
| |
W | |
| |
| |
X | |
| |
| |
| |
Common Unix Commands | |
| |
| |
| |
Apache Configuration Files | |
| |
| |
httpd-std.conf | |
| |
| |
httpd-win.conf | |
| |
| |
highperformance-std.conf | |
| |
| |
Index | |