Return-Path: X-Original-To: apmail-httpd-docs-archive@www.apache.org Delivered-To: apmail-httpd-docs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 447B617F0C for ; Fri, 13 Feb 2015 17:53:11 +0000 (UTC) Received: (qmail 86306 invoked by uid 500); 13 Feb 2015 17:53:06 -0000 Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 86244 invoked by uid 500); 13 Feb 2015 17:53:06 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@httpd.apache.org List-Id: Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 86235 invoked by uid 99); 13 Feb 2015 17:53:06 -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 17:53:06 +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 17:53:04 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id C79BB23C6C; Fri, 13 Feb 2015 17:52:14 +0000 (UTC) From: bugzilla@apache.org To: docs@httpd.apache.org Subject: [Bug 57584] New: AddHandler etc. documentation "extension" unintuitive Date: Fri, 13 Feb 2015 17:52:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: Documentation X-Bugzilla-Version: 2.5-HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: apache@chrispennello.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: docs@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=57584 Bug ID: 57584 Summary: AddHandler etc. documentation "extension" unintuitive Product: Apache httpd-2 Version: 2.5-HEAD Hardware: All OS: All Status: NEW Severity: normal Priority: P2 Component: Documentation Assignee: docs@httpd.apache.org Reporter: apache@chrispennello.com The following issue requested that the extension functionality of AddHandler be changed. https://issues.apache.org/bugzilla/show_bug.cgi?id=10768 It was closed as invalid due to the definition of "extension" in httpd. A filename is interpreted as being able to have _multiple_ extensions. See http://httpd.apache.org/docs/2.2/mod/mod_mime.html#multipleext and http://httpd.apache.org/docs/current/mod/directive-dict.html under "extension". This is a frequent cause of problems when the AddHandler etc. directives are used. I would like to suggest a couple possible remedies to assist users in more quickly understanding httpd's behavior. 1. Don't use the word "extension" in the AddHandler etc. documentation. Instead, use a word like "substring", which is more accurate, and also more intuitively in line with readers' expectations. 2. Alternatively, add a brief note in the directive documentation mentioning the unusual definition of extension used in httpd, and link to further details. I would also like to suggest that the section describing files with multiple extensions, at http://httpd.apache.org/docs/2.2/mod/mod_mime.html#multipleext include a note about the suggested solution with FilesMatch. It could be helpful to note that that example will match (potentially unexpectedly) the hidden file ".cgi". -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org