Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

header_out(Refresh)

Status
Not open for further replies.

JackTheRussel

Programmer
Aug 22, 2006
110
FI
Hi.

I'm not sure, if this the right place to ask, but I tried to ask this in perl-forum, without success.

I had Apache 2.0 and mod_perl1.

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:
Code:
Can't locate object method "header_out" via package"Apache::RequestRec"

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


Does someone information, how I could fix this problem?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top