Chapter 22. Apache HTTP Server

Chapter 22. Apache HTTP Server

22.1. Apache HTTP Server 2.2
22.1.1. Features of Apache HTTP Server 2.2
22.2. Migrating Apache HTTP Server Configuration Files
22.2.1. Migrating Apache HTTP Server 2.0 Configuration Files
22.2.2. Migrating Apache HTTP Server 1.3 Configuration Files to 2.0
22.3. Starting and Stopping httpd
22.4. Apache HTTP Server Configuration
22.4.1. Basic Settings
22.4.2. Default Settings
22.5. Configuration Directives in httpd.conf
22.5.1. General Configuration Tips
22.5.2. Configuration Directives for SSL
22.5.3. MPM Specific Server-Pool Directives
22.6. Adding Modules
22.7. Virtual Hosts
22.7.1. Setting Up Virtual Hosts
22.8. Apache HTTP Secure Server Configuration
22.8.1. An Overview of Security-Related Packages
22.8.2. An Overview of Certificates and Security
22.8.3. Using Pre-Existing Keys and Certificates
22.8.4. Types of Certificates
22.8.5. Generating a Key
22.8.6. How to configure the server to use the new key
22.9. Additional Resources
22.9.1. Useful Websites

The Apache HTTP Server is a robust, commercial-grade open source Web server developed by the Apache Software Foundation (http://www.apache.org/). Red Hat Enterprise Linux includes the Apache HTTP Server 2.2 as well as a number of server modules designed to enhance its functionality.

The default configuration file installed with the Apache HTTP Server works without alteration for most situations. This chapter outlines many of the directives found within its configuration file (/etc/httpd/conf/httpd.conf) to aid those who require a custom configuration or need to convert a configuration file from the older Apache HTTP Server 1.3 format.

Warning

If using the graphical HTTP Configuration Tool (system-config-httpd ), do not hand edit the Apache HTTP Server's configuration file as the HTTP Configuration Tool regenerates this file whenever it is used.


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.