0011-httpd.conf-IncludeOptional.patch 1.95 KB
Newer Older
1
From 355485ecb874640c0856e4f3c239d517d97893df Mon Sep 17 00:00:00 2001
2 3 4 5 6
From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
Date: Fri, 11 Sep 2015 11:27:24 +0300
Subject: [PATCH 11/14] httpd.conf: IncludeOptional

---
7 8
 docs/conf/httpd.conf.in | 42 ++----------------------------------------
 1 file changed, 2 insertions(+), 40 deletions(-)
9 10

diff --git a/docs/conf/httpd.conf.in b/docs/conf/httpd.conf.in
11
index 46ccea6..388916f 100644
12 13
--- a/docs/conf/httpd.conf.in
+++ b/docs/conf/httpd.conf.in
14
@@ -382,44 +382,6 @@ LogLevel warn
15 16 17 18
 #EnableMMAP off
 #EnableSendfile on
 
-# Supplemental configuration
19
+# Load config files from the config directory "/etc/apache2/conf.d".
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
 #
-# The configuration files in the @rel_sysconfdir@/extra/ directory can be 
-# included to add extra features or to modify the default configuration of 
-# the server, or you may simply copy their contents here and change as 
-# necessary.
-
-# Server-pool management (MPM specific)
-#Include @rel_sysconfdir@/extra/httpd-mpm.conf
-
-# Multi-language error messages
-#Include @rel_sysconfdir@/extra/httpd-multilang-errordoc.conf
-
-# Fancy directory listings
-#Include @rel_sysconfdir@/extra/httpd-autoindex.conf
-
-# Language settings
-#Include @rel_sysconfdir@/extra/httpd-languages.conf
-
-# User home directories
-#Include @rel_sysconfdir@/extra/httpd-userdir.conf
-
-# Real-time info on requests and configuration
-#Include @rel_sysconfdir@/extra/httpd-info.conf
-
-# Virtual hosts
-#Include @rel_sysconfdir@/extra/httpd-vhosts.conf
-
-# Local access to the Apache HTTP Server Manual
-#Include @rel_sysconfdir@/extra/httpd-manual.conf
-
-# Distributed authoring and versioning (WebDAV)
-#Include @rel_sysconfdir@/extra/httpd-dav.conf
-
-# Various default settings
-#Include @rel_sysconfdir@/extra/httpd-default.conf
-
-# Configure mod_proxy_html to understand HTML4/XHTML1
-<IfModule proxy_html_module>
-Include @rel_sysconfdir@/extra/proxy-html.conf
-</IfModule>
+IncludeOptional /etc/apache2/conf.d/*.conf
-- 
62
2.9.4
63