Package: apache2.2-common
Version: 2.2.3-3.2
Severity: minor
Tags: patch

The Include lines (e.g. "Include /etc/apache2/conf.d/") in apache2.conf
appear above several configuration items such as ServerTokens and
ServerSignature.  This prevents local configuration files from being
used to override those values except by abusing the sites-enabled
directory.  The only other option is to modify apache2.conf except this
spoils the whole mechanism of keeping local changes separate.

The best (and trivial) solution would be to move the non-module Include
lines to the bottom of apache2.conf.

Thanks.

-- 
William Ono <[EMAIL PROTECTED]>
--- apache2.conf.orig   2006-11-10 18:50:57.000000000 -0800
+++ apache2.conf        2006-12-26 03:01:55.795996750 -0800
@@ -185,15 +185,6 @@
 Include /etc/apache2/mods-enabled/*.load
 Include /etc/apache2/mods-enabled/*.conf
 
-# Include all the user configurations:
-Include /etc/apache2/httpd.conf
-
-# Include ports listing
-Include /etc/apache2/ports.conf
-
-# Include generic snippets of statements
-Include /etc/apache2/conf.d/
-
 #
 # The following directives define some format nicknames for use with
 # a CustomLog directive (see below).
@@ -664,5 +655,14 @@
     #</Location>
 #</IfModule>
 
+# Include all the user configurations:
+Include /etc/apache2/httpd.conf
+
+# Include ports listing
+Include /etc/apache2/ports.conf
+
+# Include generic snippets of statements
+Include /etc/apache2/conf.d/
+
 # Include the virtual host configurations:
 Include /etc/apache2/sites-enabled/

Reply via email to