Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 40018 invoked from network); 18 Aug 2005 20:10:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Aug 2005 20:10:36 -0000 Received: (qmail 41417 invoked by uid 500); 18 Aug 2005 20:10:36 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 41385 invoked by uid 500); 18 Aug 2005 20:10:35 -0000 Mailing-List: contact cvs-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 cvs@httpd.apache.org Received: (qmail 41369 invoked by uid 99); 18 Aug 2005 20:10:35 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 18 Aug 2005 13:10:34 -0700 Received: (qmail 39985 invoked by uid 65534); 18 Aug 2005 20:10:34 -0000 Message-ID: <20050818201034.39984.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r233369 - /httpd/httpd/trunk/modules/mappers/mod_dir.c Date: Thu, 18 Aug 2005 20:10:34 -0000 To: cvs@httpd.apache.org From: pquerna@apache.org X-Mailer: svnmailer-1.0.3 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: pquerna Date: Thu Aug 18 13:10:26 2005 New Revision: 233369 URL: http://svn.apache.org/viewcvs?rev=233369&view=rev Log: Do not check the value of r->handler. This allows the use of SetHandler for an entire directory, and since we already check via the stat structure if this is a directory, there is no reason for this extra check, which causes a regression since 1.3. PR: 25435 Modified: httpd/httpd/trunk/modules/mappers/mod_dir.c Modified: httpd/httpd/trunk/modules/mappers/mod_dir.c URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/mappers/mod_dir.c?rev=233369&r1=233368&r2=233369&view=diff ============================================================================== --- httpd/httpd/trunk/modules/mappers/mod_dir.c (original) +++ httpd/httpd/trunk/modules/mappers/mod_dir.c Thu Aug 18 13:10:26 2005 @@ -151,10 +151,6 @@ return HTTP_MOVED_PERMANENTLY; } - if (strcmp(r->handler, DIR_MAGIC_TYPE)) { - return DECLINED; - } - if (d->index_names) { names_ptr = (char **)d->index_names->elts; num_names = d->index_names->nelts;