[httpd: 1/2] use IncludeOptional for conf.d/*.conf inclusion

jorton jorton at fedoraproject.org
Thu Sep 13 15:51:04 UTC 2012


commit d8220f4b1313e111dfb908cbfc3aecc889b7145e
Author: Joe Orton <jorton at redhat.com>
Date:   Thu Sep 13 16:49:46 2012 +0100

    use IncludeOptional for conf.d/*.conf inclusion

 httpd.conf |    4 ++--
 httpd.spec |    5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/httpd.conf b/httpd.conf
index 1f973bb..fc7bf34 100644
--- a/httpd.conf
+++ b/httpd.conf
@@ -347,5 +347,5 @@ EnableSendfile on
 
 # Supplemental configuration
 #
-# Load conf files in the "/etc/httpd/conf.d" directory.
-Include conf.d/*.conf
+# Load config files in the "/etc/httpd/conf.d" directory, if any.
+IncludeOptional conf.d/*.conf
diff --git a/httpd.spec b/httpd.spec
index 1d47b85..a7896a9 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -8,7 +8,7 @@
 Summary: Apache HTTP Server
 Name: httpd
 Version: 2.4.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: http://httpd.apache.org/
 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
 Source1: index.html
@@ -574,6 +574,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_sysconfdir}/rpm/macros.httpd
 
 %changelog
+* Thu Sep 13 2012 Joe Orton <jorton at redhat.com> - 2.4.3-3
+- use IncludeOptional for conf.d/*.conf inclusion
+
 * Tue Aug 21 2012 Joe Orton <jorton at redhat.com> - 2.4.3-2
 - mod_ssl: add check for proxy keypair match (upstream r1374214)
 


More information about the scm-commits mailing list