Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 31633B6AB for ; Sun, 22 Jan 2012 18:15:01 +0000 (UTC) Received: (qmail 59151 invoked by uid 500); 22 Jan 2012 18:15:00 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 59078 invoked by uid 500); 22 Jan 2012 18:14:59 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 59066 invoked by uid 99); 22 Jan 2012 18:14:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jan 2012 18:14:59 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [188.40.99.202] (HELO eru.sfritsch.de) (188.40.99.202) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jan 2012 18:14:51 +0000 Received: from [10.1.1.6] (helo=k.localnet) by eru.sfritsch.de with esmtp (Exim 4.72) (envelope-from ) id 1Rp1vy-0007qT-Vx for dev@httpd.apache.org; Sun, 22 Jan 2012 19:14:31 +0100 From: Stefan Fritsch To: dev@httpd.apache.org Subject: Include strangeness Date: Sun, 22 Jan 2012 19:14:29 +0100 User-Agent: KMail/1.13.7 (Linux/3.2.0-1-amd64; KDE/4.6.5; x86_64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201201221914.29589.sf@sfritsch.de> X-Virus-Checked: Checked by ClamAV on apache.org Apart from the fact that the docs to Include do not match the code and IncludeOptional is not documented at all, the way Include interacts with directory wildcards is a bit strange: I have conf/extra/httpd-userdir.conf and a directory conf/original (without httpd-userdir.conf in it). This makes Include conf/*/httpd-userdir.conf fail with httpd: Syntax error on line 481 of /usr/local/apache2/conf/httpd.conf: Could not open configuration file /usr/local/apache2/conf/original/httpd-userdir.conf: No such file or directory even though the whole Include statement does match one file. I think this makes directory wildcards a lot less useful with Include. Is this intentional or an implementation quirk? Of course, one can always use IncludeOptional... BTW, does anyone have some free cycles to fix the docs?