Configuration Files

Upon installing 2.2 for the first time, you will immediately see that the configuration files have been rearranged. Rather than a single monolithic configuration file (httpd.conf) there is now one main configuration file (still called httpd.conf) and several smaller special purpose configuration files for less common configuration options.

These smaller files are in a subdirectory of your main conf/ directory called extra/. To enable the configuration settings contained in one of these files, you will need to uncomment a line in the main configuration file corresponding with the extra file.

In httpd.conf you will find the following lines:

# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf

# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
#Include conf/extra/httpd-autoindex.conf

# Language settings
#Include conf/extra/httpd-languages.conf

# User home directories
#Include conf/extra/httpd-userdir.conf

# Real-time info on requests and configuration
# Include conf/extra/httpd-info.conf

# Virtual hosts
# Include conf/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
# Include conf/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
# Include conf/extra/httpd-dav.conf

# Various default settings
#Include conf/extra/httpd-default.conf

# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf

Note

All paths in Apache configuration files are ...

Get What's New in Apache Web Server 2.2? now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.