On Sat, Dec 01, 2007 at 05:56:31AM -0800, Woff3 wrote:
> 
> Hi.
> 
> I had Apache 2.0 and mod_perl.
> 
> Now I upgraded to Apache 2.2.6 and mod_perl2.
> 
> I have html-pages where I use mason code.
> 
> [code]
> $r->header_out("Refresh" => "5; url=$url");
> This code worked fine in my previous system.
> Now when run my application, I get this error:
> Can't locate object method "header_out" via package"Apache::RequestRec"
> [/code]
> 
> This is strange error, because in my httpd.conf file
> I haven't load module Apache::RequestRec
> 
> I have load just these modules:
> [code]
> PerlModule Apache2::AuthCookieDBI
> PerlModule Apache2::DBI
> PerlModule HTML::Mason::ApacheHandler
> PerlModule Apache2::Request
> PerlModule Config2::IniFiles
> [/code]
> 
> Does someone information, how I could fix this problem?

Have you tried adding "PerlModule Apache2::compat" in your httpd.conf?

Regards,

-Roberto
-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature

Reply via email to