headers_out

2007-12-01 Thread Woff3
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

Re: headers_out

2007-12-01 Thread Roberto C . Sánchez
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

Re: headers_out

2007-12-01 Thread adam . prime
Roberto C. Sánchez wrote: Have you tried adding PerlModule Apache2::compat in your httpd.conf? Or you can use $r-headers_out. $r-header_out is no longer supported. see: http://perl.apache.org/docs/2.0/user/porting/compat.html#C__r_E_gt_err_header_out_ Adam

Flex

2007-12-01 Thread Will Fould
Is anyone on this list using (or considering using) a modperl service to handle a Flex client? I'm considering using flex to replace a couple of web-based admin -type tools (preference-type settings for a modperl application) with a flex-client application rather than to go the ajax route (which

Re: Flex

2007-12-01 Thread Joel Bernstein
On Sat, Dec 01, 2007 at 12:22:57PM -0800, Will Fould wrote: Is anyone on this list using (or considering using) a modperl service to handle a Flex client?i Do you mean Parse::Flex? If not, what's Flex? It's kind of you to assume we all know but a URL would be helpful.. /joel

Re: mp1 internal_redirect question

2007-12-01 Thread Silent
question 2: with mod_perl2, internal_redirect seems can access system file, such as /etc/*, but mod_perl1 seems can only access files under apache documentroot right ? sorry, the second question not correct, the mod_perl2 sendfile can access system file, and I have another server has