Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 81420 invoked from network); 23 Aug 2010 15:32:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Aug 2010 15:32:13 -0000 Received: (qmail 25202 invoked by uid 500); 23 Aug 2010 15:32:09 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 24669 invoked by uid 500); 23 Aug 2010 15:32:08 -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 24394 invoked by uid 99); 23 Aug 2010 15:32:07 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 15:32:07 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of covener@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qy0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 15:31:45 +0000 Received: by qyk5 with SMTP id 5so3122993qyk.18 for ; Mon, 23 Aug 2010 08:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=lQkC2P+EGlG2kYLfgsweSRLp7HxEEZLiL5hn9n1FB5g=; b=XO5NSDajmtjMrF3JJQlJ86qL1l8Hu0ke7/J1sk0Tma0IoqPfmq5GZUq8T5xTolfkz2 Uc2MIaX/l7Um8PfSZVsDn/l6T8orw0FaXTAWykaDhLwOlvGoifjopr17xbK4ISOmXP/O chE1XqOC8ojQzhc0mWm4ubTQfukFgo+pa7Q0o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sQPZTVxcgNaKjiN/huBDe1wMfyCjDs6vhZZLhBZszzI0L2homnEtVLvGDSVsAcWSqY lM/Ui2cRw11We+dqXWEMlvAVHf4dvI4NFnEu1mrOQdGbgNFKZoeOHNVGH+QaelYsjloH YDHdG7ErBWQYQVXagsmVU069FLTqIaDzC6h8Q= MIME-Version: 1.0 Received: by 10.224.20.9 with SMTP id d9mr3461074qab.310.1282577484220; Mon, 23 Aug 2010 08:31:24 -0700 (PDT) Received: by 10.229.86.130 with HTTP; Mon, 23 Aug 2010 08:31:24 -0700 (PDT) In-Reply-To: <201008231528.o7NFSBKi007876@thor.apache.org> References: <201008231528.o7NFSBKi007876@thor.apache.org> Date: Mon, 23 Aug 2010 11:31:24 -0400 Message-ID: Subject: Fwd: DO NOT REPLY [Bug 49809] DirectoryMatch treats $ as literal instead of EOL From: Eric Covener To: dev@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org How do people feel about a 2.3-only change to: * drop the NOTEOL flag in the regexec call * update the doc to drop the idea that DirectoryMatch applies to "subdirectories" that match the expression. The manual already uses DirectoryMatch with $-as-EOL in a few places expecting it behaves this way. Since it's so simple to make a regex apply to subdirectories, I don't think the directive needs to be hamstrung with the NOTEOL flag. ---------- Forwarded message ---------- From: Date: Mon, Aug 23, 2010 at 11:28 AM Subject: DO NOT REPLY [Bug 49809] DirectoryMatch treats $ as literal instead of EOL To: bugs@httpd.apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49809 --- Comment #2 from Eric Covener 2010-08-23 11:28:08 EDT --- I may actually understand this now. The operative part of the documentation is this "and sub-directories" part: and are used to enclose a group of directives which will apply only to the named directory and sub-directories of that directory, the same as . However, it takes as an argument a regular expression. For example: Which is why the $ cannot be matched, since we tell PCRE the string we pass in is not really a string with an end-of-line in it. This is a side of efffect of expecting it to match sub-directories as well. Still seems sensless, as with a reasonable default behavior one can just include subdirectories with the regex itself. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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 -- Eric Covener covener@gmail.com