Server Security Checklist...........................................................................723
Avoid Root Services .........................................................................................723
Maintain Logs Properly ..................................................................................723
Keep It Simple..................................................................................................724
Block Abusive Clients......................................................................................724
Have an Effective Backup and Restore Process ............................................725
Plan for High Availability, Capacity, and Disaster Recovery ........................725
Monitor the Server ..........................................................................................725
Take Care with Information Flow...................................................................726
Choose an Effective robots.txt Policy ............................................................726
Summary..................................................................................................................726
Chapter 12 Extending Apache............................................................727
WebDAV ....................................................................................................................727
Adding WebDAV to Apache.............................................................................728
The WebDAV Protocol.....................................................................................729
Configuring Apache for WebDAV...................................................................731
Restricting Options and Disabling Overrides ...............................................734
WebDAV and Virtual Hosts .............................................................................735
Configuring the DAV Lock Time.....................................................................735
Limitations of File-Based Repositories..........................................................736
Protecting WebDAV Servers............................................................................737
More Advanced Configurations .....................................................................737
Cooperating with CGI and Other Content Handlers....................................740
ISAPI ......................................................................................................................741
Supported ISAPI Support Functions .............................................................742
Configuring ISAPI Extensions ........................................................................743
Setting the Maximum Initial Request Data Size ...........................................744
Logging ISAPI Extensions...............................................................................745
Preloading and Caching ISAPI Extensions....................................................746
Handling Asynchronous ISAPI Extensions ...................................................746
Perl.........................................................................................................................746
Building and Installing mod_perl ..................................................................748
Migrating mod_perl from Apache 1.3 to Apache 2.......................................755
Configuring and Implementing Perl Handlers.............................................758
Configuring and Implementing Perl Filters ..................................................771
Warnings, Taint Mode, and Debugging .........................................................772
Managing Perl Threads in mod_perl 2...........................................................774
Initializing Modules at Startup.......................................................................779
Restarting mod_perl and Auto-Reloading Modules.....................................780
Creating a mod_perl Status Page ...................................................................782
Running CGI Scripts Under mod_perl ..........................................................782
Contents
xv
3006_Ch00_CMP2 12/14/03 8:56 AM Page xv