Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 88719 invoked from network); 7 May 2009 18:21:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 May 2009 18:21:08 -0000 Received: (qmail 35894 invoked by uid 500); 7 May 2009 18:21:06 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 35860 invoked by uid 500); 7 May 2009 18:21: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 35852 invoked by uid 99); 7 May 2009 18:21:05 -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 18:21:05 +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: domain of pharkins@gmail.com designates 74.125.44.156 as permitted sender) Received: from [74.125.44.156] (HELO yx-out-1718.google.com) (74.125.44.156) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2009 18:20:56 +0000 Received: by yx-out-1718.google.com with SMTP id 36so488267yxh.40 for ; Thu, 07 May 2009 11:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+AwHsSy9dtDUaAwKLsTvBhL0ffo9X5Xgwc1s8TZinJs=; b=w4HVCX+9x9408wZVgIf4fvcwezzEzsA1fsHKzXCJJZnZth/ztrBnc9Fw9dNuHKAN2n EfRkBZjuHQM4J3cZW/tMlCLAsIpjf7Q9MRsM0a4LlKfTEeWZn0y+ZlC9xVarDHfI5Y8V jCWsr1r+r1Ffc7Zo1iVHCoQkMVp8sltDIsI3g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VW3lDD74GWswnlhChyYAb/ShT0y7lLmnHVUEZiadMEKTe12l/PSUQNEPgN6ja6s8yy aWsJ8xs5YEppB8l5CKSceTY8AXvSxeBr1Ky7IRyI7kIbyFgglvTQXwpzXf7s6gOIIvJP 5BTrJVPq10jiiHIB4KT9wTfwHpzMyLORbXK9w= MIME-Version: 1.0 Received: by 10.100.152.12 with SMTP id z12mr6036236and.96.1241720435621; Thu, 07 May 2009 11:20:35 -0700 (PDT) In-Reply-To: <4A02FA96.6070209@plusthree.com> References: <4A02FA96.6070209@plusthree.com> Date: Thu, 7 May 2009 14:20:35 -0400 Message-ID: <66887a3d0905071120y5e261485mc610ffe98b84a831@mail.gmail.com> Subject: Re: ErrorDocument from a registry script From: Perrin Harkins To: Michael Peters Cc: mod_perl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, May 7, 2009 at 11:13 AM, Michael Peters wro= te: > I have a registry script that could return a NOT FOUND (404) error. I'm > handling that like so: > > =A0Apache->request->status(NOT_FOUND); You also need to return the correct code from the handler. This is not simple to do from Registry. Have a quick look at the list archives for things related to Registry and 304/404 handling. Apache::RedirectLogFix might be the ticket for you. - Perrin