Return-Path: X-Original-To: apmail-httpd-bugs-archive@www.apache.org Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E03D107D5 for ; Fri, 13 Feb 2015 20:38:08 +0000 (UTC) Received: (qmail 45056 invoked by uid 500); 13 Feb 2015 20:38:08 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 45023 invoked by uid 500); 13 Feb 2015 20:38:08 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 45014 invoked by uid 99); 13 Feb 2015 20:38:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 20:38:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 20:38:06 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 787A423CDB; Fri, 13 Feb 2015 20:37:46 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: [Bug 57585] New: httpd fails to start if there is an IncludeOptional directive to a inexistent directory Date: Fri, 13 Feb 2015 20:37:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: Core X-Bugzilla-Version: 2.4.10 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: powerbsd@yahoo.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=57585 Bug ID: 57585 Summary: httpd fails to start if there is an IncludeOptional directive to a inexistent directory Product: Apache httpd-2 Version: 2.4.10 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P2 Component: Core Assignee: bugs@httpd.apache.org Reporter: powerbsd@yahoo.com There must be cases were we want to Optionally include configuration files. IncludeOptional check for the folder to exists and then parses the configuration files found in it (if any) but return an error if the directory does not exists yet. After apr_dir_open() fails in process_resource_config_fnmatch and process_resource_config_nofnmatch, we can check for the "optional" arg and return error only if not optional. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org