Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 14923 invoked from network); 12 Jul 2005 10:13:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2005 10:13:01 -0000 Received: (qmail 15967 invoked by uid 500); 12 Jul 2005 10:12:59 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 15933 invoked by uid 500); 12 Jul 2005 10:12:58 -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 15918 invoked by uid 99); 12 Jul 2005 10:12:57 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 03:12:49 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id 72CD315; Tue, 12 Jul 2005 12:12:46 +0200 (CEST) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 35700] New: - SetHandler breaks DirectoryIndex (error 404) X-Bugzilla-Reason: AssignedTo Message-Id: <20050712101246.72CD315@ajax.apache.org> Date: Tue, 12 Jul 2005 12:12:46 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35700 Summary: SetHandler breaks DirectoryIndex (error 404) Product: Apache httpd-2.0 Version: 2.0.54 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: All AssignedTo: bugs@httpd.apache.org ReportedBy: heilong@bluebottle.com This config worked ok in apache 1.3: DirectoryIndex list SetHandler application/x-httpd-php I've got several PHP files without extension in that directory, and use SetHandler to make apache run them with mod_php. The problem is, apache 2.0 tries to run the directory itself with mod_php (as seen by error log: [Fri Jul 01 19:35:11 2005] [error] [client 127.0.0.1] attempt to invoke directory '/var/www/localhost/htdocs/forum/' as script, referer: http://localhost/) I've worked around this by the following config, but the bug should be fixed. DirectoryIndex list SetHandler application/x-httpd-php This works because Files "?*" doesn't match the directory itself. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org