Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 12382 invoked from network); 2 Apr 2005 04:43:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Apr 2005 04:43:45 -0000 Received: (qmail 44178 invoked by uid 500); 2 Apr 2005 04:43:44 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 44129 invoked by uid 500); 2 Apr 2005 04:43:43 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 44109 invoked by uid 99); 2 Apr 2005 04:43:43 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Apr 2005 20:43:42 -0800 Received: by ajax.apache.org (Postfix, from userid 99) id BB2112A4; Sat, 2 Apr 2005 06:43:39 +0200 (CEST) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 34094] - ErrorDocument for 500 error can't be in Directory Container X-Bugzilla-Reason: AssignedTo Message-Id: <20050402044339.BB2112A4@ajax.apache.org> Date: Sat, 2 Apr 2005 06:43:39 +0200 (CEST) X-Virus-Checked: Checked 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=34094 ------- Additional Comments From stonemonkey@anodyneoz.com 2005-04-02 06:43 ------- (In reply to comment #0) > I'm not sure whether this is a mistake in the Apache documents or a bug in the > code, but according the Apache HTTPD document here: > > http://httpd.apache.org/docs-2.0/mod/core.html#errordocument > > The context for ErrorDocument is listed as "server config, virtual host, > directory, .htaccess" > > I have a directory container setup like this: > > > ErrorDocument 403 /globalerrors/403.php > ErrorDocument 404 /globalerrors/404.php > ErrorDocument 500 /globalerrors/500.php > Options [masked from this post for security] > IndexOptions [masked from this post for security] > AllowOverride [masked from this post for security] > > > The 403 and 404 error documents work as expected, but when I try to trigger the > 500 error document, Apache instead displays the normal Apache stock 500 error > document. After consulting on this with some folks in the apache IRC channel, > I discovered that moving the ErrorDocument 500 directive outside of the root > directory container and into the main config, the custom 500 error starts to > work. So I figure that this is either a mistake in the documentation or a bug > in Apache httpd. I had exactly this problem with an ErrorDocument for error 414. Custom error document would not work in .htaccess or directory container. (Custom 404 error documents with exactly the same details would work.) Only solution found to work was to put entry in main confiuguration as for original error 500 report. running Server Version: Apache/2.0.52 (Fedora) Server Built: Nov 11 2004 10:31:42 -- 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