Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 63429 invoked from network); 7 May 2009 17:48:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 May 2009 17:48:07 -0000 Received: (qmail 5501 invoked by uid 500); 7 May 2009 17:48:05 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 5479 invoked by uid 500); 7 May 2009 17:48:05 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 5471 invoked by uid 99); 7 May 2009 17:48:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2009 17:48:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [67.121.119.130] (HELO mail.cablewholesale.com) (67.121.119.130) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2009 17:47:53 +0000 Received: from [192.168.254.21] (unknown [192.168.254.21]) by mail.cablewholesale.com (Postfix) with ESMTP id 9ED65158183 for ; Thu, 7 May 2009 10:47:32 -0700 (PDT) Message-ID: <4A031EB4.1020501@cablewholesale.com> Date: Thu, 07 May 2009 10:47:32 -0700 From: "Michael A. Capone" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081204 Firefox/2.0.0.17 MIME-Version: 1.0 To: mod_perl Subject: Re: ErrorDocument from a registry script References: <4A02FA96.6070209@plusthree.com> In-Reply-To: <4A02FA96.6070209@plusthree.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org In the spirit of checking off the obvious things... are you sure that the ErrorDocument directive is working for other pages? in other words, can you open a browser and goto http://mydomain.com/this_file_does_not_exist.htm and see your ErrorDocument? Michael Peters wrote: > I'm pretty sure this should just work and I'm doing something stupid, > so any helpful insults that point me in the right direction would be > appreciated :) > > I have a registry script that could return a NOT FOUND (404) error. > I'm handling that like so: > > Apache->request->status(NOT_FOUND); > > The browser does get the 404 HTTP status header, but it does not > trigger the ErrorDocument 404 that is set up, instead just showing the > browser's built-in 404 message. PerlSendHeaders is Off and I'm not > printing any output.