Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 1864 invoked from network); 10 Mar 2006 01:00:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Mar 2006 01:00:00 -0000 Received: (qmail 2752 invoked by uid 500); 10 Mar 2006 00:59:54 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 2738 invoked by uid 500); 10 Mar 2006 00:59:53 -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 2727 invoked by uid 99); 10 Mar 2006 00:59:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2006 16:59:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.33.198.201] (HELO jareth.dreamhost.com) (66.33.198.201) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2006 16:59:53 -0800 Received: from [192.168.1.100] (user-10876ld.cable.mindspring.com [64.131.154.173]) by jareth.dreamhost.com (Postfix) with ESMTP id 27439190F9D; Thu, 9 Mar 2006 16:59:32 -0800 (PST) In-Reply-To: <4410BCC6.5040901@gmx.at> References: <4410B691.4080509@club-internet.fr> <4410BCC6.5040901@gmx.at> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <71438ACE-9470-4B66-A0CF-EFBE4F585112@2xlp.com> Cc: modperl_users List Content-Transfer-Encoding: 7bit From: Jonathan Vanasco Subject: Re: Modperl2 + PerlAccessHandler + Redirect Date: Thu, 9 Mar 2006 19:59:31 -0500 To: Tom Schindl X-Mailer: Apple Mail (2.746.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Tom's suggestion made me realize the obvious flaw in the code that neither of us saw. header_out doesn't exist in the api. headerS_out does. Try: $r->headers_out( Location => 'http://www.google.fr' ); not: $r->header_out( Location => 'http://www.google.fr' ); On Mar 9, 2006, at 6:39 PM, Tom Schindl wrote: > If that's not working I'd give err_headers_out_ a try: >> $r->header_out( Location => 'http://www.google.fr' );