Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 1973 invoked from network); 27 Jul 2004 16:03:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Jul 2004 16:03:19 -0000 Received: (qmail 65830 invoked by uid 500); 27 Jul 2004 16:03:02 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 65739 invoked by uid 500); 27 Jul 2004 16:03:01 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 65723 invoked by uid 99); 27 Jul 2004 16:03:01 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Message-ID: <33031.68.167.196.237.1090944173.squirrel@mail.redhotpenguin.com> In-Reply-To: <5ac301c473ef$94fcf400$0200a8c0@analog> References: <5ac301c473ef$94fcf400$0200a8c0@analog> Date: Tue, 27 Jul 2004 09:02:53 -0700 (PDT) Subject: Re: HTTP headers - what is wrong From: fred@taperfriendlymusic.org To: "Chris Faust" Cc: modperl@perl.apache.org User-Agent: SquirrelMail/1.4.2-1.qvcs.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > Which works great, the problem is right before I print out any HTML, I > changed > > $CGI->header > to $r->send_http_header; The method $r->send_http_header() no longer exists in mod_perl 2.0. See the following link http://perl.apache.org/docs/2.0/user/porting/porting.html#Making_Code_Conditional_on_Running_mod_perl_Version > Apache/2.0.44 (Unix) mod_perl/1.99_08 Perl/v5.8.0 That version of mod_perl2 is quite old - the current version is 1.99_14. I recommend installing 1.99_14, much has changed and many bugs have been fixed. Regards, Fred -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html