perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@taperfriendlymusic.org
Subject Re: HTTP headers - what is wrong
Date Tue, 27 Jul 2004 16:02:53 GMT
> 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


Mime
View raw message