0% found this document useful (0 votes)
33 views

HTTP Servers - Configuration File Includes

HTTP servers like Apache allow for modular configuration through the use of included files and directories. This avoids monolithic configuration files and makes it easier to enable or disable specific server configurations. Common Linux distributions use included files in directories like /etc/httpd/conf.d, /etc/apache2/conf.d, and /etc/apache2/*-available to configure Apache HTTP servers in a flexible manner.

Uploaded by

semabay
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

HTTP Servers - Configuration File Includes

HTTP servers like Apache allow for modular configuration through the use of included files and directories. This avoids monolithic configuration files and makes it easier to enable or disable specific server configurations. Common Linux distributions use included files in directories like /etc/httpd/conf.d, /etc/apache2/conf.d, and /etc/apache2/*-available to configure Apache HTTP servers in a flexible manner.

Uploaded by

semabay
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Linux Networking and Administration (LFS211) - HTTP Servers | The Linu... https://trainingportal.linuxfoundation.org/learn/course/linux-networking-a...

 LINUX NETWORKING AND ADMINISTRATION �LFS211� SUPPORT SIGN OUT

HTTP SERVERS

HTTP Servers

Configuration File Includes


To allow for modification and flexibility in the apache configuration file, you can include other files and directories. This allows you to avoid
one large configuration file and is useful for servers with multiple sites. Many distributions use this feature to enable or disable web server
configurations by installing or removing packages.

The OpenSUSE distribution also allows for easy creation of additional include files and directories. To learn more, check out
the /etc/sysconfig/apache2 file. 

Some of the default include directories are:

CentOS�
/etc/httpd/conf.d/*.conf

OpenSUSE�
/etc/apache2/conf.d/
/etc/apache2/*

Ubuntu:
/etc/apache2/*-enabled
/etc/apache2/*-available/
Ubuntu has active (enabled) and inactive (available) directories. See man -k a2e for more details.

1 of 2 6/20/21, 19:39
Linux Networking and Administration (LFS211) - HTTP Servers | The Linu... https://trainingportal.linuxfoundation.org/learn/course/linux-networking-a...

2 of 2 6/20/21, 19:39

You might also like